次の方法で共有


MotionEvent.XPrecision Property

Definition

Return the precision of the X coordinates being reported.

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

Property Value

Returns the precision of X coordinates being reported.

Attributes

Remarks

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

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

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