onTouch

open override fun onTouch(pos: Xy)

Single pointer touch down event. A touch event is defined as a pointer down and up within a preset time in milliseconds, and pointer movement has to be less than a preset distance in millimeters.

Parameters

pos

is the position where event occurred


var onTouch: (pos: Xy) -> Unit?

Single pointer touch down event. Lambda Signature: (pos: Xy) -> Unit A touch event is defined as a pointer down and up within a preset time in milliseconds, and pointer movement has to be less than a preset distance in millimeters.

Parameters

pos

is the position where event occurred