Android.Graphics.Drawables.Shapes.Shape Members

The members of Android.Graphics.Drawables.Shapes.Shape are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

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

Public Properties

[read-only]
HasAlphabool. Checks whether the Shape is opaque.
[read-only]
Heightfloat. Returns the height of the Shape.
[read-only]
Widthfloat. Returns the width of the Shape.

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

Clone() : Android.Graphics.Drawables.Shapes.Shape
Creates and returns a copy of this Object.
abstract
Draw(Android.Graphics.Canvas, Android.Graphics.Paint)
Draw this shape into the provided Canvas, with the provided Paint.
GetOutline(Android.Graphics.Outline)
Compute the Outline of the shape and return it in the supplied Outline parameter.
Resize(float, float)
Resizes the dimensions of this shape.

Protected Methods

OnResize(float, float)
Callback method called when Shape.Resize(float, System.Single) is executed.