Lime::Drawables::Rectangle
Inherits Struct < Value < Object
A drawable rectangle.
Constructors
new(x : Int32, y : Int32, width : Int32, height : Int32, type : Type = Default, color : Colorize::Color = Colorize::ColorANSI::Default)
Initializes a new Rectangle.
For specifying the type, you can use the top-level constants
Default, Double and Round.
Instance methods
color
Sourcecolor=(color : Colorize::Color)
Sourceheight
Sourceheight=(height : Int32)
Sourcetype
Sourcetype=(type : Lime::Drawables::Rectangle::Type)
Sourcewidth
Sourcewidth=(width : Int32)
Sourcex=(x : Int32)
Sourcey=(y : Int32)
Source