ScaleGestureDetector.FocusX Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.