Partager via


ShapeDrawable.Shape Property

Definition

Returns the Shape of this ShapeDrawable. -or- Sets the Shape of this ShapeDrawable.

public virtual Android.Graphics.Drawables.Shapes.Shape? Shape { [Android.Runtime.Register("getShape", "()Landroid/graphics/drawable/shapes/Shape;", "GetGetShapeHandler")] get; [Android.Runtime.Register("setShape", "(Landroid/graphics/drawable/shapes/Shape;)V", "GetSetShape_Landroid_graphics_drawable_shapes_Shape_Handler")] set; }
[<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")>]
member this.Shape : Android.Graphics.Drawables.Shapes.Shape with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the Shape of this ShapeDrawable.

Java documentation for android.graphics.drawable.ShapeDrawable.getShape().

Property setter documentation:

Sets the Shape of this ShapeDrawable.

Java documentation for android.graphics.drawable.ShapeDrawable.setShape(android.graphics.drawable.shapes.Shape).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to