Class Circle
A circle
Inheritance
Inherited Members
Namespace
Syntax
public class Circle : GraphicalCyclicWriter
Constructors
Circle(int, int, int, bool, Color?)
Makes a new circle
Declaration
public Circle(int height, int left, int top, bool filled = false, Color? shapeColor = null)
Parameters
| Name | Type | Description |
|---|---|---|
| height | int | Circle height |
| left | int | Zero-based left position of the terminal to write this circle to |
| top | int | Zero-based top position of the terminal to write this circle to |
| filled | bool | Whether to print this filled circle or just the outline |
| shapeColor | Color | Shape color. Null equals the current foreground color. |
Properties
Filled
Whether to print this filled circle or just the outline
Property Value
bool
Declaration
public bool Filled { get; }
RainbowLighting
Lighting of the color wheel (from 0 to 100)
Property Value
int
Declaration
public int RainbowLighting { get; set; }
RainbowMode
Whether to make a "color wheel" or to use the shape color
Property Value
bool
Declaration
public bool RainbowMode { get; set; }
RainbowSaturation
Saturation of the color wheel (from 0 to 100)
Property Value
int
Declaration
public int RainbowSaturation { get; set; }
ShapeColor
Shape color
Property Value
Color
Declaration
public Color ShapeColor { get; }
Methods
Render()
Renders a circle
Returns
string
A rendered circle using a string that you can print to the terminal using WriteRaw(string, params object[])
Declaration
public override string Render()