Class Ellipsis
An ellipsis
Inheritance
Inherited Members
Namespace
Syntax
public class Ellipsis : GraphicalCyclicWriter
Constructors
Ellipsis(int, int, int, int, bool, Color?)
Makes a new ellipsis
Declaration
public Ellipsis(int width, int height, int left, int top, bool filled = false, Color? shapeColor = null)
Parameters
| Name | Type | Description |
|---|---|---|
| width | int | Ellipsis width |
| height | int | Ellipsis height |
| left | int | Zero-based left position of the terminal to write this ellipsis to |
| top | int | Zero-based top position of the terminal to write this ellipsis to |
| filled | bool | Whether to print this filled ellipsis or just the outline |
| shapeColor | Color | Shape color. Null equals the current foreground color. |
Properties
Filled
Whether to print this filled ellipsis 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 an ellipsis
Returns
string
A rendered ellipsis using a string that you can print to the terminal using WriteRaw(string, params object[])
Declaration
public override string Render()