Class Quote
Quote cyclic renderer
Inheritance
Namespace
Syntax
public class Quote : SimpleCyclicWriter
Properties
Author
Author of the quote
Property Value
string
Declaration
public string Author { get; set; }
BackgroundColor
Background color
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
EnablePad
Whether to print the padding character at the beginning of each line or not
Property Value
bool
Declaration
public bool EnablePad { get; set; }
ForegroundColor
Foreground color
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
PadChar
Quote padding character at the beginning of each line
Property Value
WideChar
Declaration
public WideChar PadChar { get; set; }
PadColor
Quote pad color
Property Value
Color
Declaration
public Color PadColor { get; set; }
QuoteText
Quote to render to the console
Property Value
string
Declaration
public string QuoteText { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
WrapLines
Whether to wrap lines or not
Property Value
bool
Declaration
public bool WrapLines { get; set; }
WrapWidth
Line wrap width for each line
Property Value
int
Declaration
public int WrapWidth { get; set; }
Methods
Render()
Renders a quote
Returns
string
A string representation of the quote
Declaration
public override string Render()