abstract struct SF::Event::SizeEvent

Overview

Size events parameters (see Resized)

Direct Known Subclasses

Defined in:

window/obj.cr

Constructors

Instance Method Summary

Instance methods inherited from struct SF::Event

initialize initialize

Constructor methods inherited from struct SF::Event

new new

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def dup : SizeEvent #
Description copied from struct Value

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]
def height : UInt32 #

New height, in pixels


[View source]
def height=(height : Int) #

[View source]
def width : UInt32 #

New width, in pixels


[View source]
def width=(width : Int) #

[View source]