MouseMotionEvent class

A mouse has moved in the window.

SDL Docs

Inheritance

Constructors

MouseMotionEvent({required Sdl sdl, required int timestamp, required int wndId, required int which, required int state, required int x, required int y, required int relativeX, required int relativeY})
Create a motion event.

Properties

coordinates Point<int>
Complete coordinates.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isTouchInput bool
Returns true if this event was generated by touch input.
no setterinherited
relative Point<int>
Relative coordinates.
no setter
relativeX int
Relative x.
final
relativeY int
Relative y.
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
state int
The state of the mouse button.
final
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