Class AlignedFigletTextColor
Aligned figlet writer
Inheritance
Namespace: Terminaux.Writer.FancyWriters
Assembly: Terminaux.dll
Syntax
[Obsolete("This is considered a legacy method of writing this fancy text and will be removed in a future version of Terminaux. Please use its cyclic writer equivalent.")]
public static class AlignedFigletTextColor
Methods
| Edit this page View SourceRenderAligned(int, FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text
Declaration
public static string RenderAligned(int top, FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAligned(int, FigletFont, string, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text
Declaration
public static string RenderAligned(int top, FigletFont FigletFont, string Text, Color ForegroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAligned(int, FigletFont, string, TextAlignment, int, int, params object[])
Renders an aligned figlet text
Declaration
public static string RenderAligned(int top, FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAligned(FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text
Declaration
public static string RenderAligned(FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAligned(FigletFont, string, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text
Declaration
public static string RenderAligned(FigletFont FigletFont, string Text, Color ForegroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAligned(FigletFont, string, TextAlignment, int, int, params object[])
Renders an aligned figlet text
Declaration
public static string RenderAligned(FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAlignedOneLine(int, FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text (just the first line)
Declaration
public static string RenderAlignedOneLine(int top, FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAlignedOneLine(int, FigletFont, string, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text (just the first line)
Declaration
public static string RenderAlignedOneLine(int top, FigletFont FigletFont, string Text, Color ForegroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAlignedOneLine(int, FigletFont, string, TextAlignment, int, int, params object[])
Renders an aligned figlet text (just the first line)
Declaration
public static string RenderAlignedOneLine(int top, FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAlignedOneLine(FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text (just the first line)
Declaration
public static string RenderAlignedOneLine(FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAlignedOneLine(FigletFont, string, Color, TextAlignment, int, int, params object[])
Renders an aligned figlet text (just the first line)
Declaration
public static string RenderAlignedOneLine(FigletFont FigletFont, string Text, Color ForegroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderAlignedOneLine(FigletFont, string, TextAlignment, int, int, params object[])
Renders an aligned figlet text (just the first line)
Declaration
public static string RenderAlignedOneLine(FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
WriteAligned(int, FigletFont, string, TextAlignment, int, int, params object[])
Draws an aligned figlet text
Declaration
public static void WriteAligned(int top, FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAligned(FigletFont, string, TextAlignment, int, int, params object[])
Draws an aligned figlet text
Declaration
public static void WriteAligned(FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedColor(int, FigletFont, string, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text
Declaration
public static void WriteAlignedColor(int top, FigletFont FigletFont, string Text, Color Color, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | Color | A color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedColor(FigletFont, string, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text
Declaration
public static void WriteAlignedColor(FigletFont FigletFont, string Text, Color Color, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | Color | A color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedColorBack(int, FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text
Declaration
public static void WriteAlignedColorBack(int top, FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedColorBack(FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text
Declaration
public static void WriteAlignedColorBack(FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedOneLine(int, FigletFont, string, TextAlignment, int, int, params object[])
Draws an aligned figlet text (just the first line)
Declaration
public static void WriteAlignedOneLine(int top, FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedOneLine(FigletFont, string, TextAlignment, int, int, params object[])
Draws an aligned figlet text (just the first line)
Declaration
public static void WriteAlignedOneLine(FigletFont FigletFont, string Text, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedOneLineColor(int, FigletFont, string, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text (just the first line)
Declaration
public static void WriteAlignedOneLineColor(int top, FigletFont FigletFont, string Text, Color Color, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | Color | A color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedOneLineColor(FigletFont, string, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text (just the first line)
Declaration
public static void WriteAlignedOneLineColor(FigletFont FigletFont, string Text, Color Color, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | Color | A color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedOneLineColorBack(int, FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text (just the first line)
Declaration
public static void WriteAlignedOneLineColorBack(int top, FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write aligned text to |
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteAlignedOneLineColorBack(FigletFont, string, Color, Color, TextAlignment, int, int, params object[])
Draws an aligned figlet text (just the first line)
Declaration
public static void WriteAlignedOneLineColorBack(FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, TextAlignment alignment = TextAlignment.Left, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use |
string | Text | Text to be written. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
TextAlignment | alignment | Text alignment |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |