Window.onTouchRotate

Function/Meaning

Rotated

Type
WindowclassEvent
Syntax
onTouchRotate(startangle, currentangle, distance, cx, cy, flag)
Arguments
startangle

The radian angle when multi-touch is started.

currentangle

The radian angle of the touch when an event occurs.

distance

The pixel distance of the touch when the event occurs.

cx

The x-coordinate (in client coordinates) value of the center position.

cy

The y-coordinate (in client coordinates) value of the center position.

flag

Multi-touch status flag.
0x01: Set to the first event when multitouch is started.

Return value
None (void)
Explanation

Occurs when rotating on the touch panel by multi-touch.