Läs på engelska

Dela via


RectF.CenterX Method

Definition

C#
[Android.Runtime.Register("centerX", "()F", "")]
public float CenterX();

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35