The Touch class represents a single touch on the surface. A touch is the presence or movement of a finger that is part of a unique multi-touch sequence.
Members Table
The following table lists the members exposed by the Touch object.
Show:
Properties
Attribute
Description
Property
Type
Readonly
Description
clientX
Number
true
The x-coordinate of the touch’s location relative to the window’s viewport.
clientY
Number
true
The y-coordinate of the touch’s location relative to the window’s viewport.
identifier
Number
true
The unique identifier for this touch object.
pageX
Number
true
The x-coordinate of the touch’s location in page coordinates.
pageY
Number
true
The y-coordinate of the touch’s location in page coordinates.
screenX
Number
true
The x-coordinate of the touch’s location in screen coordinates.
screenY
Number
true
The y-coordinate of the touch’s location in screen coordinates.