Sdílet prostřednictvím


ScaleGestureDetector.FocusY Property

Definition

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

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

Property Value

Y coordinate of the focal point in pixels.

Attributes

Remarks

Get the Y 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.getFocusY().

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