Android.Graphics.Drawables.BitmapDrawable: Method Members

The methods of Android.Graphics.Drawables.BitmapDrawable are listed below. For a list of all members, see the BitmapDrawable Members list.

See Also: Inherited members from Android.Graphics.Drawables.Drawable

Public Methods

override
Draw(Android.Graphics.Canvas)
Draw in its bounds (set via setBounds) respecting optional effects such as alpha (set via setAlpha) and color filter (set via setColorFilter).
override
GetConstantState() : Drawable.ConstantState
Return a NoType:android/graphics/drawable/Drawable$ConstantState;Href=../../../../reference/android/graphics/drawable/Drawable.ConstantState.html instance that holds the shared state of this Drawable.
override
SetAlpha(int)
Specify an alpha value for the drawable. 0 means fully transparent, and 255 means fully opaque.
SetAntiAlias(bool)
Enables or disables anti-aliasing for this drawable.
override
SetColorFilter(Android.Graphics.ColorFilter)
Specify an optional color filter for the drawable.
SetMipMap(bool)
Enables or disables the mipmap hint for this drawable's bitmap.
SetTargetDensity(Android.Graphics.Canvas)
Set the density scale at which this drawable will be rendered.
SetTargetDensity(Android.Util.DisplayMetrics)
Set the density scale at which this drawable will be rendered.
SetTargetDensity(int)
Set the density at which this drawable will be rendered.
SetTileModeXY(Android.Graphics.Shader.TileMode, Android.Graphics.Shader.TileMode)
Sets the repeat behavior of this drawable on both axis.