struct Espresso::WindowScaleEvent

Overview

Event triggered when the a window's content scale changes.

Defined in:

espresso/window_scale_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def scale #

The new content scale of the window.


[View source]
def x : Float32 #

The new x-axis content scale of the window.


[View source]
def y : Float32 #

The new y-axis content scale of the window.


[View source]