NinePatch.Width Property

Definition

Returns the intrinsic width, in pixels, of this NinePatch.

public virtual int Width { [Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")] get; }
[<get: Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")>]
member this.Width : int

Property Value

Attributes

Remarks

Returns the intrinsic width, in pixels, of this NinePatch. This is equivalent to querying the width of the underlying bitmap returned by #getBitmap().

Java documentation for android.graphics.NinePatch.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