struct Lime::Drawables::Circle
- Lime::Drawables::Circle
- Struct
- Value
- Object
Overview
A drawable circle.
Defined in:
lime/drawables.crConstructors
-
.new(x : Int32, y : Int32, radius : Int32, color : Colorize::Color = Colorize::ColorANSI::Default)
Initializes a new
Circle
.
Instance Method Summary
- #color : Colorize::Color256 | Colorize::ColorANSI | Colorize::ColorRGB
-
#draw
Inserts the circle into the buffer.
- #radius : Int32
- #radius=(radius : Int32)
- #x : Int32
- #x=(x : Int32)
- #y : Int32
- #y=(y : Int32)
Constructor Detail
def self.new(x : Int32, y : Int32, radius : Int32, color : Colorize::Color = Colorize::ColorANSI::Default)
#
Initializes a new Circle
.