Canvas.Width Property

Definition

Returns the width of the current drawing layer

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

Property Value

the width of the current drawing layer

Attributes

Remarks

Returns the width of the current drawing layer

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