pan

open fun pan(screenX: Float, screenY: Float, dx: Float, dy: Float): Boolean

Triggered when a pointer is dragged over the screen.

Return

true if event is handled; false otherwise

Parameters

screenX

the x-coord on the last drag event

screenY

the y-coord on the last drag event

dx

the difference in pixels to screenX

dy

the different in pixels to screenY