Skip to content

abstract struct SF::Event::SizeEvent
inherits SF::Event #

Size events parameters (see Resized)

Direct known subclasses

SF::Event::Resized

Constructors#

Methods#

#dup : SizeEvent#

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.

View source

#height : UInt32#

New height, in pixels

View source

#height=(height : Int)#

View source

#width : UInt32#

New width, in pixels

View source

#width=(width : Int)#

View source