次の方法で共有


GradientDrawable.Shape Property

Definition

Returns the type of shape used by this drawable, one of #LINE, #OVAL, #RECTANGLE or #RING.

public virtual Android.Graphics.Drawables.ShapeType Shape { [Android.Runtime.Register("getShape", "()I", "GetGetShapeHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getShape", "()I", "GetGetShapeHandler", ApiSince=24)>]
member this.Shape : Android.Graphics.Drawables.ShapeType

Property Value

the type of shape used by this drawable

Attributes

Remarks

Returns the type of shape used by this drawable, one of #LINE, #OVAL, #RECTANGLE or #RING.

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

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