onRotation

abstract fun onRotation(gestureDetector: RotationGestureDetector, angle: Float, pivotX: Float, pivotY: Float): Boolean

Called when rotation is detected.

Return

true if event has been handled, false otherwise.

Parameters

gestureDetector

gesture detector that raised the event.

angle

amount of angle variation between consecutive touch events expressed in radians.

pivotX

x coordinate of pivot point.

pivotY

y coordinate of pivot point.