Class CenteredFigletTextColor
Centered Figlet writer
Inheritance
Namespace: Terminaux.Writer.FancyWriters
Assembly: Terminaux.dll
Syntax
public static class CenteredFigletTextColor
Methods
| Edit this page View SourceRenderCenteredFiglet(int, FigletFont, string, int, int, params object[])
Renders a centered figlet with text
Declaration
public static string RenderCenteredFiglet(int top, FigletFont FigletFont, string Text, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write centered figlet text to |
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
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 |
RenderCenteredFiglet(int, FigletFont, string, Color, int, int, params object[])
Renders a centered figlet with text
Declaration
public static string RenderCenteredFiglet(int top, FigletFont FigletFont, string Text, Color ForegroundColor, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write centered figlet text to |
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | ForegroundColor | A foreground color that will be changed to. |
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 |
RenderCenteredFiglet(int, FigletFont, string, Color, Color, int, int, params object[])
Renders a centered figlet with text
Declaration
public static string RenderCenteredFiglet(int top, FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write centered figlet text to |
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
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 |
RenderCenteredFiglet(FigletFont, string, int, int, params object[])
Renders a centered figlet with text
Declaration
public static string RenderCenteredFiglet(FigletFont FigletFont, string Text, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
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 |
RenderCenteredFiglet(FigletFont, string, Color, int, int, params object[])
Renders a centered figlet with text
Declaration
public static string RenderCenteredFiglet(FigletFont FigletFont, string Text, Color ForegroundColor, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | ForegroundColor | A foreground color that will be changed to. |
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 |
RenderCenteredFiglet(FigletFont, string, Color, Color, int, int, params object[])
Renders a centered figlet with text
Declaration
public static string RenderCenteredFiglet(FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
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 |
WriteCenteredFiglet(int, FigletFont, string, int, int, params object[])
Draw a centered figlet with text
Declaration
public static void WriteCenteredFiglet(int top, FigletFont FigletFont, string Text, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write centered figlet text to |
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteCenteredFiglet(FigletFont, string, int, int, params object[])
Draw a centered figlet with text
Declaration
public static void WriteCenteredFiglet(FigletFont FigletFont, string Text, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteCenteredFigletColor(int, FigletFont, string, Color, int, int, params object[])
Draw a centered figlet with text
Declaration
public static void WriteCenteredFigletColor(int top, FigletFont FigletFont, string Text, Color Color, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write centered figlet text to |
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | Color | A color that will be changed to. |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteCenteredFigletColor(FigletFont, string, Color, int, int, params object[])
Draw a centered figlet with text
Declaration
public static void WriteCenteredFigletColor(FigletFont FigletFont, string Text, Color Color, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | Color | A color that will be changed to. |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteCenteredFigletColorBack(int, FigletFont, string, Color, Color, int, int, params object[])
Draw a centered figlet with text
Declaration
public static void WriteCenteredFigletColorBack(int top, FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
int | top | Top position to write centered figlet text to |
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |
WriteCenteredFigletColorBack(FigletFont, string, Color, Color, int, int, params object[])
Draw a centered figlet with text
Declaration
public static void WriteCenteredFigletColorBack(FigletFont FigletFont, string Text, Color ForegroundColor, Color BackgroundColor, int leftMargin = 0, int rightMargin = 0, params object[] Vars)
Parameters
Type | Name | Description |
---|---|---|
FigletFont | FigletFont | Figlet font to use in the text. |
string | Text | Text to be written. If nothing, the entire line is filled with the centered figlet. |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
int | leftMargin | The left margin |
int | rightMargin | The right margin |
object[] | Vars | Variables to format the message before it's written. |