TouchEvents

class TouchEvents(val view: View)

Constructors

Link copied to clipboard
constructor(view: View)

Types

Link copied to clipboard
data class Info(var index: Int = -1, var id: Int = 0, var local: Point = Point(), var startLocal: Point = Point(), var startTime: DateTime = DateTime.EPOCH, var global: Point = Point(), var startGlobal: Point = Point(), var time: DateTime = DateTime.EPOCH) : Extra

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
val view: View

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun TouchEvents.scaleRecognizer(start: ScaleRecognizerInfo.() -> Unit = {}, end: ScaleRecognizerInfo.(ratio: Double) -> Unit = {}, block: ScaleRecognizerInfo.(ratio: Double) -> Unit)
Link copied to clipboard
fun simulateTapAt(views: Views, globalXY: Point)
Link copied to clipboard
Link copied to clipboard
fun TouchEvents.swipeRecognizer(thresold: Double = 32.0, block: (direction: SwipeRecognizerDirection) -> Unit)