Lime::Drawables::FilledRectangle
Inherits Struct < Value < Object
A drawable filled rectangle.
Constructors
new(x : Int32, y : Int32, width : Int32, height : Int32, material : String = "█", color : Colorize::Color = Colorize::ColorANSI::Default)
Initializes a new FilledRectangle.
material is what the filled rectangle will be built with:
FilledRectangle.new(0, 0, 5, 5, "#").draw
#####
#####
#####
#####
#####
```
Instance methods
color
Sourceheight
Sourceheight=(height : Int32)
Sourcematerial
Sourcematerial=(material : String)
Sourcewidth
Sourcewidth=(width : Int32)
Sourcex=(x : Int32)
Sourcey=(y : Int32)
Source