共用方式為


Rect.ExactCenterX Method

Definition

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

Returns

the exact horizontal center of the rectangle as a float.

Attributes

Remarks

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

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