Android Guides | Samples

Android.Graphics.Drawables.ShapeType Enumeration

Enumerates values returned by several methods of ShapeType and taken as a parameter of the GradientDrawable.SetShape member.

Syntax

public enum ShapeType

Remarks

Enumerates values returned by the following: and taken as a parameter of the GradientDrawable.SetShape member.

Members

Member NameDescription
LineShape is a line
OvalShape is an ellipse
RectangleShape is a rectangle, possibly with rounded corners
RingShape is a ring.

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

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

See Also: Enum

Public Fields

LineShapeType. Shape is a line
OvalShapeType. Shape is an ellipse
RectangleShapeType. Shape is a rectangle, possibly with rounded corners
RingShapeType. Shape is a ring.