Udostępnij za pośrednictwem


MotionEvent.PointerCoords.Pressure Property

Definition

A normalized value that describes the pressure applied to the device by a finger or other tool.

[Android.Runtime.Register("pressure")]
public float Pressure { get; set; }
[<Android.Runtime.Register("pressure")>]
member this.Pressure : single with get, set

Property Value

Attributes

Remarks

A normalized value that describes the pressure applied to the device by a finger or other tool. The pressure generally ranges from 0 (no pressure at all) to 1 (normal pressure), although values higher than 1 may be generated depending on the calibration of the input device.

Java documentation for android.view.MotionEvent.PointerCoords.pressure.

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

See also