fling

open override fun fling(velocityX: Float, velocityY: Float, pointer: Pointer): Boolean

Triggered when a user "flings" the screen by dragging and lifting their pointer. Reports last velocity in pixels per second.

Return

true if event is handled; false otherwise

Parameters

velocityX

the x velocity in seconds

velocityY

the y velocity in seconds

pointer

the pointer that flung