MouseWheelEvent class
A mouse wheel event.
- Inheritance
-
- Object
- Event
- MouseEvent
- MouseWheelEvent
Constructors
- MouseWheelEvent({required Sdl sdl, required int timestamp, required int windowId, required int which, required int x, required int y, required MouseWheelDirection direction})
- Create an event.
Properties
-
coordinates
→ Point<
int> -
Complete coordinates.
no setterinherited
- direction → MouseWheelDirection
-
The direction the wheel was moved.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTouchInput → bool
-
Returns
true
if this event was generated by touch input.no setterinherited - 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
- which → int
-
The mouse instance ID.
finalinherited
- window → Window?
-
The window that emitted this event.
no setterinherited
- windowId ↔ int
-
The ID of the window that emitted this event.
latefinalinherited
- x ↔ int
-
X coordinate.
latefinalinherited
- y ↔ int
-
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