struct Espresso::MouseScrollEvent

Overview

Event triggered when the mouse is scrolled.

Defined in:

espresso/mouse_scroll_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 x : Float64 #

The scroll offset along the x-axis.


[View source]
def y : Float64 #

The scroll offset along the y-axis.


[View source]