Partager via


MotionEvent.PointerCoords.Size Property

Definition

A normalized value that describes the approximate size of the pointer touch area in relation to the maximum detectable size of the device.

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

Property Value

Attributes

Remarks

A normalized value that describes the approximate size of the pointer touch area in relation to the maximum detectable size of the device. It represents some approximation of the area of the screen being pressed; the actual value in pixels corresponding to the touch is normalized with the device specific range of values and scaled to a value between 0 and 1. The value of size can be used to determine fat touch events.

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

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