Android Guides | Samples

Android.Graphics.Drawables.ShapeDrawable.Shape Property

Returns the Shape of this ShapeDrawable.

Syntax

[get: Android.Runtime.Register("getShape", "()Landroid/graphics/drawable/shapes/Shape;", "GetGetShapeHandler")]
[set: Android.Runtime.Register("setShape", "(Landroid/graphics/drawable/shapes/Shape;)V", "GetSetShape_Landroid_graphics_drawable_shapes_Shape_Handler")]
public virtual Shape Shape { get; set; }

Remarks

Get method documentation[Android Documentation]
Returns the Shape of this ShapeDrawable.

Set method documentation[Android Documentation]
Sets the Shape of this ShapeDrawable.

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1