MotionEvent.YPrecision Property

Definition

Return the precision of the Y coordinates being reported.

public float YPrecision { [Android.Runtime.Register("getYPrecision", "()F", "")] get; }
[<get: Android.Runtime.Register("getYPrecision", "()F", "")>]
member this.YPrecision : single

Property Value

Returns the precision of Y coordinates being reported.

Attributes

Remarks

Return the precision of the Y coordinates being reported. You can multiply this number with #getY to find the actual hardware value of the Y coordinate.

Java documentation for android.view.MotionEvent.getYPrecision().

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