Class AlignedFigletText
Aligned figlet text renderable
Inheritance
Inherited Members
Namespace
Syntax
public class AlignedFigletText : GraphicalCyclicWriter
Constructors
AlignedFigletText(FigletFont, Mark?, params object[])
Makes a new instance of the aligned figlet text renderer
Declaration
public AlignedFigletText(FigletFont figletFont, Mark? text = null, params object[] vars)
Parameters
| Name | Type | Description |
|---|---|---|
| figletFont | FigletFont | Figlet font to render with |
| text | Mark | Text to use |
| vars | object[] | Variables to format the text with |
Properties
BackgroundColor
Background color of the text
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
Font
Figlet font to render the text with
Property Value
FigletFont
Declaration
public FigletFont Font { get; set; }
ForegroundColor
Foreground color of the text
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
OneLine
Whether to render the figlet text in one line or not
Property Value
bool
Declaration
public bool OneLine { get; set; }
Rainbow
Whether to write text with rainbow effects or not
Property Value
bool
Declaration
public bool Rainbow { get; set; }
RainbowBg
Whether to write text with rainbow effects in the background or in the foreground
Property Value
bool
Declaration
public bool RainbowBg { get; set; }
Settings
Text settings to use
Text
Top position
Property Value
string
Declaration
public string Text { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Methods
Render()
Renders an aligned figlet text
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()