Swipe

data class Swipe(val slot: Int, val x1: Int, val y1: Int, val x2: Int, val y2: Int)

Wrapper class to encapsulate data describing a swipe

Parameters

slot

slot id for the touch

x1

x coordinate where the swipe starts

y1

y coordinate where the swipe starts

x2

x coordinate where the swipe ends

y2

y coordinate where the swipe ends

Constructors

Link copied to clipboard
fun Swipe(slot: Int, x1: Int, y1: Int, x2: Int, y2: Int)

Properties

Link copied to clipboard
val slot: Int
Link copied to clipboard
val x1: Int
Link copied to clipboard
val x2: Int
Link copied to clipboard
val y1: Int
Link copied to clipboard
val y2: Int