Class: Tuile::Mouse::MoveEvent
- Inherits:
-
Data
- Object
- Data
- Tuile::Mouse::MoveEvent
- Includes:
- Event
- Defined in:
- lib/tuile/mouse.rb,
sig/tuile.rbs
Overview
The pointer moved and nothing holds the grab.
Instance Attribute Summary collapse
-
#button ⇒ Symbol?
readonly
@return — the button held while moving, or nil.
-
#x ⇒ Integer
readonly
@return — 0-based column.
-
#y ⇒ Integer
readonly
@return — 0-based row.
Instance Method Summary collapse
-
#point ⇒ Point
@return — the event's position.
Instance Attribute Details
#button ⇒ Symbol? (readonly)
@return — the button held while moving, or nil.
63 |
# File 'lib/tuile/mouse.rb', line 63 MoveEvent = Data.define(:button, :x, :y) { include Event } |
Instance Method Details
#point ⇒ Point
@return — the event's position.
609 |
# File 'sig/tuile.rbs', line 609
def point: () -> Point
|