Class Decoration
Decoration renderer
Inheritance
Namespace
Syntax
public class Decoration : SimpleCyclicWriter
Constructors
Decoration()
Makes a new decoration instance
Declaration
public Decoration()
Properties
BackgroundColor
Background color
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
End
End of the decoration
Property Value
string
Declaration
public string End { get; set; }
ForegroundColor
Foreground color
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
Start
Start of the decoration
Property Value
string
Declaration
public string Start { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Methods
Render()
Renders a decoration (both start and end)
Returns
string
A string representation of the decoration
Declaration
public override string Render()
Overrides
RenderEnd()
Renders a decoration (end)
Returns
string
A string representation of the decoration
Declaration
public string RenderEnd()
RenderStart()
Renders a decoration (start)
Returns
string
A string representation of the decoration
Declaration
public string RenderStart()