Specifies the difference, in pixels, between the touch point's X coordinate in the current frame and the previous frame. This tells you how far the touch point has moved horizontally in the browser or application window. Positive values indicate rightward movement, and negative values leftward movement.
Specifies the difference, in pixels, between the touch point's Y coordinate in the current frame and the previous frame. This tells you how far the touch point has moved vertically in the browser or application window. Positive values indicate upward movement, and negative values downward movement.
A unique identifier for the finger used in a touch interaction.
Specifies the life cycle state of this touch. The TouchState enum defines the possible values
Specifies the absolute X coordinate of the touch, in pixels on the browser or application window. A value of 0 corresponds to the leftmost edge of the window. The higher the value, the farther right the coordinate.
Specifies the absolute Y coordinate of the touch, in pixels on the browser or application window. A value of 0 corresponds to the bottommost edge of the window. The higher the value, the farther up the coordinate.
Generated using TypeDoc
Stores the state for a single touch point.