Touch

data class Touch(val index: Int = -1, var id: Int = -1, var p: Point = Point.ZERO, var force: Float = 1.0f, var status: Touch.Status = Status.KEEP, var kind: Touch.Kind = Kind.FINGER, var button: MouseButton = MouseButton.LEFT) : Extra

Constructors

Link copied to clipboard
constructor(index: Int = -1, id: Int = -1, p: Point = Point.ZERO, force: Float = 1.0f, status: Touch.Status = Status.KEEP, kind: Touch.Kind = Kind.FINGER, button: MouseButton = MouseButton.LEFT)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
open override var extra: ExtraType
Link copied to clipboard
Link copied to clipboard
var id: Int
Link copied to clipboard
val index: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var p: Point
Link copied to clipboard
Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double

Functions

Link copied to clipboard
fun copyFrom(other: Touch)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard