共用方式為


Shape.Width Property

Definition

Returns the width of the Shape.

public float Width { [Android.Runtime.Register("getWidth", "()F", "")] get; }
[<get: Android.Runtime.Register("getWidth", "()F", "")>]
member this.Width : single

Property Value

Attributes

Remarks

Returns the width of the Shape.

Java documentation for android.graphics.drawable.shapes.Shape.getWidth().

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