Touch

extern class js.html.TouchAvailable in jsA Touch object represents a single point of contact between the user and a touch-sensitive interface device (which may be, for example, a touchscreen or a trackpad).

Documentation for this class was provided by MDN.
var clientX(default,null) : IntThe X coordinate of the touch point relative to the viewport, not including any scroll offset. Read only. var clientY(default,null) : IntThe Y coordinate of the touch point relative to the viewport, not including any scroll offset. Read only. var force(default,null) : FloatThe amount of pressure being applied to the surface by the user, as a float between 0.0 (no pressure) and 1.0 (maximum pressure). Read only. var identifier(default,null) : IntA unique identifier for this Touch object. A given touch (say, by a finger) will have the same identifier for the duration of its movement around the surface. This lets you ensure that you're tracking the same touch all the time. Read only. var pageX(default,null) : IntThe X coordinate of the touch point relative to the viewport, including any scroll offset. Read only. var pageY(default,null) : IntThe Y coordinate of the touch point relative to the viewport, including any scroll offset. Read only. var radiusX(default,null) : IntThe 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. Read only. var radiusY(default,null) : IntThe Y 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 screenY. Read only. var rotationAngle(default,null) : FloatThe angle (in degrees) that the ellipse described by radiusX and radiusY must be rotated, clockwise, to most accurately cover the area of contact between the user and the surface. Read only. var screenX(default,null) : IntThe X coordinate of the touch point relative to the screen, not including any scroll offset. Read only. var screenY(default,null) : IntThe Y coordinate of the touch point relative to the screen, not including any scroll offset. Read only. var target(default,null) : EventTarget
version #18361, modified 2013-05-01 11:58:48 by api
0 comment