cancel
Function
Common
Deprecated Replaced by TouchInjectionScope. Use
performTouchInput
instead ofperformGesture
fun GestureScope.cancel() = delegateScope.touch { cancel() }
Sends a cancel event to cancel the current gesture. The cancel event contains the current position of all active pointers.