DollarGestureEvent class
A gesture event.
- Inheritance
- Mixed in types
Constructors
- DollarGestureEvent({required Sdl sdl, required int timestamp, required DollarGestureEventType type, required int touchId, required int gestureId, required int numFingers, required double error, required double x, required double y})
- Create an event.
- DollarGestureEvent.fromSdlEvent(Sdl sdl, SDL_DollarGestureEvent event)
- Create an instance from an SDL event.
Properties
-
coordinates
→ Point<
double> -
Complete coordinates.
no setterinherited
- error → double
-
The difference between the gesture template and the actual performed
gesture (lower error is a better match).
final
- gestureId → int
-
The unique id of the closest gesture to the performed stroke.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- numFingers → int
-
The number of fingers used to draw the stroke.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdl → Sdl
-
The SDL bindings to use for this event.
finalinherited
- timestamp → int
-
The time this event was emitted.
finalinherited
- touchId → int
-
The touch device id.
final
- type → DollarGestureEventType
-
The type of this event.
final
- x ↔ double
-
X coordinate.
latefinalinherited
- y ↔ double
-
Y coordinate.
latefinalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited