enum GestureEvent
source · line 19public
public enum GestureEvent
Magnify multiplies the current scale by (1 + delta). Rotate carries clockwise radians. Swipe carries a discrete direction, positive right/down, not a pixel distance. The positional state does not change mouse buttons or create touch contacts. Device identity remains unknown when the platform cannot provide it.
Extensions
public val GestureEvent.phase: GesturePhase· scoop:scoop.window:0.1.0public val GestureEvent.state: PointerState· scoop:scoop.window:0.1.0public val GestureEvent.kind: GestureKind· scoop:scoop.window:0.1.0
variant Magnify
source · line 20public
Magnify(PointerState, GesturePhase, Double)
field _
source · line 20public
Double
field _
source · line 20public
PointerState
parameter _
source · line 20public
GesturePhase
parameter _
source · line 20public
PointerState
parameter _
source · line 20public
Double
field _
source · line 20public
GesturePhase
variant Swipe
source · line 22public
Swipe(PointerState, Double, Double)
field _
source · line 22public
Double
parameter _
source · line 22public
Double
parameter _
source · line 22public
PointerState
field _
source · line 22public
Double
field _
source · line 22public
PointerState
parameter _
source · line 22public
Double
variant Rotate
source · line 21public
Rotate(PointerState, GesturePhase, Double)
parameter _
source · line 21public
PointerState
parameter _
source · line 21public
GesturePhase
field _
source · line 21public
GesturePhase
field _
source · line 21public
PointerState
field _
source · line 21public
Double
parameter _
source · line 21public
Double
function equals
source · line 19publiccompiler-derived
operator fun equals(other: GestureEvent): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: PointerState, GesturePhase, Double.