Window.onTouchScaling

Function/Meaning

Enlarged operation

Type
WindowclassEvent
Syntax
onTouchScaling(startdistance, currentdistance, cx, cy, flag)
Arguments
startdistance

The pixel distance when multi-touch is started.

currentdistance

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

It occurs when the enlargement operation is performed by multi-touch on the touch panel.