LavaUI docs

enum CanvasGesturePhase

Swift

enum CanvasGesturePhase

A phase in a Canvas pointer gesture — a press, its drag, and its release.

Sources/LavaUI/Canvas.swift:19

Cases

case began

The hit test that starts the gesture and captures the pointer.

Sources/LavaUI/Canvas.swift:21

case moved

Delivered on every move after .began, even once the pointer has left the canvas's own bounds — the same capture lifecycle Slider/TextField get from PointerCapture, just surfaced.

Sources/LavaUI/Canvas.swift:25

case ended

Button released. Always paired with a .began.

Sources/LavaUI/Canvas.swift:27