Class TextWriterWhereSlowColor
Console text writer with color support (slow positional write)
Inheritance
Namespace: Terminaux.Writer.ConsoleWriters
Assembly: Terminaux.dll
Syntax
public static class TextWriterWhereSlowColor
Methods
| Edit this page View SourceWriteWhereSlowly(string, bool, int, int, double, bool, int, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowly(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, int RightMargin, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
int | RightMargin | The right margin |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowly(string, bool, int, int, double, bool, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowly(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowly(string, bool, int, int, double, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowly(string msg, bool Line, int Left, int Top, double MsEachLetter, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyColor(string, bool, int, int, double, bool, int, Color, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowlyColor(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, int RightMargin, Color color, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
int | RightMargin | The right margin |
Color | color | A color that will be changed to. |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyColor(string, bool, int, int, double, bool, Color, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowlyColor(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, Color color, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
Color | color | A color that will be changed to. |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyColor(string, bool, int, int, double, Color, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowlyColor(string msg, bool Line, int Left, int Top, double MsEachLetter, Color color, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
Color | color | A color that will be changed to. |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyColorBack(string, bool, int, int, double, bool, int, Color, Color, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowlyColorBack(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, int RightMargin, Color ForegroundColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
int | RightMargin | The right margin |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyColorBack(string, bool, int, int, double, bool, Color, Color, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowlyColorBack(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, Color ForegroundColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyColorBack(string, bool, int, int, double, Color, Color, params object[])
Outputs the text into the terminal prompt with location support, and sets colors as needed.
Declaration
public static void WriteWhereSlowlyColorBack(string msg, bool Line, int Left, int Top, double MsEachLetter, Color ForegroundColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
Color | ForegroundColor | A foreground color that will be changed to. |
Color | BackgroundColor | A background color that will be changed to. |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyPlain(string, bool, int, int, double, bool, int, params object[])
Outputs the text into the terminal prompt with location support.
Declaration
public static void WriteWhereSlowlyPlain(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, int RightMargin, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
int | RightMargin | The right margin |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyPlain(string, bool, int, int, double, bool, params object[])
Outputs the text into the terminal prompt with location support.
Declaration
public static void WriteWhereSlowlyPlain(string msg, bool Line, int Left, int Top, double MsEachLetter, bool Return, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
bool | Return | Whether or not to return to old position |
object[] | vars | Variables to format the message before it's written. |
WriteWhereSlowlyPlain(string, bool, int, int, double, params object[])
Outputs the text into the terminal prompt with location support.
Declaration
public static void WriteWhereSlowlyPlain(string msg, bool Line, int Left, int Top, double MsEachLetter, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | msg | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
int | Left | Column number in console |
int | Top | Row number in console |
double | MsEachLetter | Time in milliseconds to delay writing |
object[] | vars | Variables to format the message before it's written. |