struct Espresso::MouseMoveEvent

Overview

Event triggered when the mouse moves.

Defined in:

espresso/mouse_move_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::MouseEvent

mouse mouse

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def coordinates #

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


[View source]
def position #

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]