Get touch coordinate movement speed
id | Specify Touch ID. |
x | Returns the mouse coordinate movement speed in the X-axis direction. |
y | Returns the mouse coordinate movement speed in the Y-axis direction. |
speed | The mouse coordinate movement speed is returned. |
Returns whether the acquisition was successful or unsuccessful
Get the current touch movement speed in pixel / sec.
It is measured from the time it is pressed until it is released.
Since it supports multi-touch, the speed is measured for each ID.
Note that the measured speed information disappears when the method call of the Window.onTouchUp event ends.