struct Espresso::MouseMoveEvent

Overview

Event triggered when the mouse moves.

Defined in:

espresso/events/mouse_move_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::MouseEvent

mouse : Mouse mouse

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def coordinates : Coordinates #

The new cursor position, relative to the top-left corner of the content area.


[View source]
def position : Coordinates #

The new cursor position, relative to the top-left corner of the content area.


[View source]
def x : Float64 #

The new cursor x-coordinate, relative to the left edge of the content area.


[View source]
def y : Float64 #

The new cursor y-coordinate, relative to the top edge of the content area.


[View source]