Class Decoration
Decoration renderer
Inheritance
object
Decoration
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Decoration : IStaticRenderable
Constructors
| Edit this page View SourceDecoration()
Makes a new decoration instance
Declaration
public Decoration()
Properties
| Edit this page View SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
End
End of the decoration
Declaration
public string End { get; set; }
Property Value
Type | Description |
---|---|
string |
ForegroundColor
Foreground color
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Start
Start of the decoration
Declaration
public string Start { get; set; }
Property Value
Type | Description |
---|---|
string |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceRender()
Renders a decoration (both start and end)
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | A string representation of the decoration |
RenderEnd()
Renders a decoration (end)
Declaration
public string RenderEnd()
Returns
Type | Description |
---|---|
string | A string representation of the decoration |
RenderStart()
Renders a decoration (start)
Declaration
public string RenderStart()
Returns
Type | Description |
---|---|
string | A string representation of the decoration |