Std.Ui.Gesture
8 public declarations
- feed
&Std.Ui.Gesture.Tracker -> Std.Ui.Gesture.Phase -> Std.Ui.Canvas.Point -> Int -> (Std.Ui.Gesture.Tracker, Array[Std.Ui.Gesture.Gesture])The recognizer after one phase at
pointandtimemilliseconds, and - Gesture
What a sequence of pointer phases meant.
- inside
&Std.Ui.Canvas.Rect -> Std.Ui.Canvas.Point -> BoolWhether
pointlies insideframe. - Phase
A stage of one pointer contact.
- recognize
&Array[(Std.Ui.Gesture.Phase, Std.Ui.Canvas.Point, Int)] -> Array[Std.Ui.Gesture.Gesture]Every gesture a sequence of phases produced, feeding and ticking in order.
- tick
&Std.Ui.Gesture.Tracker -> Int -> (Std.Ui.Gesture.Tracker, Array[Std.Ui.Gesture.Gesture])The recognizer at
timewith no new phase: a contact held still past - tracker
Std.Ui.Gesture.TrackerA recognizer with a 4-pixel slop and a 500-millisecond hold.
- Tracker
The recognizer's memory between phases: where and when the contact went
