Android.Graphics.Drawables.ColorDrawable Members

The members of Android.Graphics.Drawables.ColorDrawable are listed below.

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

Public Constructors

Creates a new black ColorDrawable.
Creates a new ColorDrawable with the specified color.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

override
Alphaint. Returns the alpha value of this drawable's color.
ColorAndroid.Graphics.Color. Gets the drawable's color value.
[read-only]
override
Opacityint. Return the opacity/transparency of this Drawable.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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
SetAlpha(int)
Sets the color's alpha value.
override
SetColorFilter(Android.Graphics.ColorFilter)
Sets the color filter applied to this color.