struct Espresso::Size


Two-dimensional size of an object. Contains a width and height, represented as 32-bit integers.

Defined in:



Instance Method Summary

Constructor Detail

def : Int32, height : Int32) #

Creates the size with initial values.

[View source]

Instance Method Detail

def height : Int32 #

Vertical size.

[View source]
def to_s(io) #

Creates a string representation of the size.

[View source]
def width : Int32 #

Horizontal size.

[View source]