Condividi tramite


Rect.Width Method

Definition

[Android.Runtime.Register("width", "()I", "")]
public int Width ();
[<Android.Runtime.Register("width", "()I", "")>]
member this.Width : unit -> int

Returns

the rectangle's width. This does not check for a valid rectangle (i.e. left <= right) so the result may be negative.

Attributes

Remarks

Java documentation for android.graphics.Rect.width().

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