struct

Espresso::FrameSize

Inherits Struct / Value / Object

Sizes of each edge of a window.

Constructors

new(left : Int32, top : Int32, right : Int32, bottom : Int32)

Creates the size with initial values.

Source

Instance methods

bottom

Size of the bottom edge, in screen coordinates.

Source
left

Size of the left edge, in screen coordinates.

Source
right

Size of the right edge, in screen coordinates.

Source
to_s(io)

Creates a string representation of the frame size.

Source
top

Size of the top edge, in screen coordinates.

Source