The x-position of the touch in stage coordinates.
The y-position of the touch in stage coordinates.
Height of the contact area. If the device does not support detecting the pressure, the value is 1.0.
The identifier of a touch. '0' for mouse events, an increasing number for touches.
The current phase the touch is in. @see TouchPhase
A value between 0.0 and 1.0 indicating force of the contact with the device. If the device does not support detecting the pressure, the value is 1.0.
Width of the contact area. If the device does not support detecting the pressure, the value is 1.0.
Creates a new TouchData instance with the given properties or returns one from the object pool.
Moves an instance back into the pool.
Generated using TypeDoc
Stores the information about raw touches in a pool of object instances.
This class is purely for internal use of the TouchProcessor.