Condividi tramite


RectF.CenterX Method

Definition

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

Returns

the horizontal center of the rectangle. This does not check for a valid rectangle (i.e. left <= right)

Attributes

Remarks

Java documentation for android.graphics.RectF.centerX().

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