Share via


RectF.Width Method

Definition

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

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.RectF.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