TouchEvent

data class TouchEvent(var type: TouchEvent.Type = Type.START, var screen: Int = 0, var currentTime: DateTime = DateTime.EPOCH, var scaleCoords: Boolean = true, var emulated: Boolean = false) : Event, TEvent<TouchEvent>

Constructors

Link copied to clipboard
constructor(type: TouchEvent.Type = Type.START, screen: Int = 0, currentTime: DateTime = DateTime.EPOCH, scaleCoords: Boolean = true, emulated: Boolean = false)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var screen: Int
Link copied to clipboard
var target: Any?
Link copied to clipboard
Link copied to clipboard
open override var type: TouchEvent.Type

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copyFrom(other: TouchEvent)
Link copied to clipboard
fun endFrame()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun preventDefault(reason: Any? = null)
Link copied to clipboard
fun Event.preventDefault(reason: Any? = null): Nothing
Link copied to clipboard
Link copied to clipboard
fun stopPropagation(reason: Any? = null)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun touch(touch: Touch)
fun touch(id: Int, p: Point, status: Touch.Status = Touch.Status.KEEP, force: Float = 1.0f, kind: Touch.Kind = Touch.Kind.FINGER, button: MouseButton = MouseButton.LEFT)