detect Transform Gestures
Detects transform gestures such as zoom and pan, with support for multi-touch gestures. This function handles gesture start, ongoing changes (zoom and pan), and gesture end.
Parameters
A lambda function that is called on every gesture update. It provides: - change
: The pointer input change. - isMultiTouch
: Boolean indicating whether the gesture involves multiple touches.
A lambda function called when the gesture starts, providing the initial position.
A lambda function called when the gesture ends, indicating whether it was multi-touch.
A lambda function called when the gesture is cancelled.
Detects transform gestures such as zoom and pan, with support for multi-touch gestures. This function handles gesture start, ongoing changes (zoom and pan), and gesture end.
Parameters
A lambda function that is called on every gesture update. It provides: - zoomChange
: The change in zoom scale. - panChange
: The offset change for panning. - change
: The pointer input change. - isMultiTouch
: Boolean indicating whether the gesture involves multiple touches.
A lambda function called when the gesture starts, providing the initial position.
A lambda function called when the gesture ends, indicating whether it was multi-touch.
A lambda function called when the gesture is cancelled.