pinch

open fun pinch(initialPos1: Vec2f, initialPos2: Vec2f, pos1: Vec2f, pos2: Vec2f): Boolean

Triggered when two pointers perform a pinch gesture.

Return

true if event is handled; false otherwise

Parameters

initialPos1

initial position of the first pointer

initialPos2

initial position of the second pointer

pos1

current position of the first pointer

pos2

current position of the second pointer