struct

SF::Event::SizeEvent

Inherits SF::Event / Struct / Value / Object

Size events parameters (see Resized)

Constructors

Instance methods

dup

Returns a shallow copy of this object.

Because Value is a value type, this method returns self, which already involves a shallow copy of this object because value types are passed by value.

Source
height

New height, in pixels

Source
height=(height : Int)
Source
width

New width, in pixels

Source
width=(width : Int)
Source