zoom

open fun zoom(initialDistance: Float, distance: Float): Boolean

Triggered when two pointers perform a pinch zoom gesture.

Return

true if event is handled; false otherwise

Parameters

initialDistance

the distance between pointers when the gesture started

distance

current distance between pointers