Partager via


InputDevice.MotionRange.Flat Property

Definition

Gets the extent of the center flat position with respect to this axis.

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

Property Value

The extent of the center flat position.

Attributes

Remarks

Gets the extent of the center flat position with respect to this axis.

For example, a flat value of 8 means that the center position is between -8 and +8. This value is mainly useful for calibrating self-centering devices.

Java documentation for android.view.InputDevice.MotionRange.getFlat().

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