Touch.radiusX

Summary

Returns the X radius of the ellipse that most closely circumscribes the area of contact with the screen. The value is in pixels of the same scale as screenX.

This value, in combination with Touch.radiusY and Touch.rotationAngle constructs an ellipse that approximates the size and shape of the area of contact between the user and the screen. This may be a large ellipse representing the contact between a fingertip and the screen or a small one representing the tip of a stylus, for example.

Syntax

var xRadius = touchItem.radiusX;

Return value

xRadius
The X radius of the ellipse that most closely circumscribes the area of contact with the screen.

Specification

Touch Events Specification

See also

Document Tags and Contributors

Contributors to this page: fscholz, kosvrouvas, kscarfone, jaskaran_singh, Sheppy
Last updated by: fscholz,