struct Espresso::FrameSize
- Espresso::FrameSize
- Struct
- Value
- Object
Overview
Sizes of each edge of a window.
Defined in:
espresso/frame_size.crConstructors
-
.new(left : Int32, top : Int32, right : Int32, bottom : Int32)
Creates the size with initial values.
Instance Method Summary
-
#bottom : Int32
Size of the bottom edge, in screen coordinates.
-
#left : Int32
Size of the left edge, in screen coordinates.
-
#right : Int32
Size of the right edge, in screen coordinates.
-
#to_s(io)
Creates a string representation of the frame size.
-
#top : Int32
Size of the top edge, in screen coordinates.
Constructor Detail
def self.new(left : Int32, top : Int32, right : Int32, bottom : Int32)
#
Creates the size with initial values.