TouchEventCustom

data class TouchEventCustom(val eventType: ETouchEvent, val pointerId: Int, val x: Int, val y: Int, var valid: Boolean)

Data class for custom touch event

Parameters

eventType

the associated touch event

pointerId

the id of the pointer that triggered the event

x

x screen coordinate in pixels

y

y screen coordinate in pixels

valid

true if the touch event was consumed and false otherwise

Constructors

Link copied to clipboard
constructor(eventType: ETouchEvent, pointerId: Int, x: Int, y: Int, valid: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val x: Int
Link copied to clipboard
val y: Int