The members of Android.Graphics.Drawables.ShapeDrawable are listed below.
See Also: Inherited members from Android.Graphics.Drawables.Drawable
ShapeDrawable constructor. | ||
Creates a ShapeDrawable with a specified Shape. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] override | Opacity | int. Return the opacity/transparency of this Drawable. |
[read-only] | Paint | Android.Graphics.Paint. Returns the Paint used to draw the shape. |
Shape | Android.Graphics.Drawables.Shapes.Shape. Returns the Shape of this ShapeDrawable. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
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). | |
GetShaderFactory()Returns the ShaderFactory used by this ShapeDrawable for requesting a Android.Graphics.Shader. | ||
override | SetAlpha(int)Set the alpha level for this drawable [0. | |
override | SetColorFilter(Android.Graphics.ColorFilter)Specify an optional color filter for the drawable. | |
SetIntrinsicHeight(int)Sets the intrinsic (default) height for this shape. | ||
SetIntrinsicWidth(int)Sets the intrinsic (default) width for this shape. | ||
SetPadding(Android.Graphics.Rect)Sets padding for this shape, defined by a Rect object. | ||
SetPadding(int, int, int, int)Sets padding for the shape. | ||
SetShaderFactory(ShapeDrawable.ShaderFactory)Sets a ShaderFactory to which requests for a Android.Graphics.Shader object will be made. |
InflateTag(string, Android.Content.Res.Resources, System.Xml.XmlReader, Android.Util.IAttributeSet)Subclasses override this to parse custom subelements. | ||
OnDraw(Android.Graphics.Drawables.Shapes.Shape, Android.Graphics.Canvas, Android.Graphics.Paint)Called from the drawable's draw() method after the canvas has been set to draw the shape at (0,0). |