Share via


ScaleGestureDetector.FocusX Property

Definition

Get the X coordinate of the current gesture's focal point.

public virtual float FocusX { [Android.Runtime.Register("getFocusX", "()F", "GetGetFocusXHandler")] get; }
[<get: Android.Runtime.Register("getFocusX", "()F", "GetGetFocusXHandler")>]
member this.FocusX : single

Property Value

X coordinate of the focal point in pixels.

Attributes

Remarks

Get the X coordinate of the current gesture's focal point. If a gesture is in progress, the focal point is between each of the pointers forming the gesture.

If #isInProgress() would return false, the result of this function is undefined.

Java documentation for android.view.ScaleGestureDetector.getFocusX().

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