Class TextWriterSlowColor
Console text writer with color support (slow write)
Inheritance
Namespace: Terminaux.Writer.DynamicWriters
Assembly: Terminaux.dll
Syntax
public static class TextWriterSlowColor
Methods
| Edit this page View SourceWriteSlowlyColor(string, bool, double, Color, params object[])
Outputs the text into the terminal prompt slowly with color support.
Declaration
public static void WriteSlowlyColor(string msg, bool Line, 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 |
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. |
WriteSlowlyColorBack(string, bool, double, Color, Color, params object[])
Outputs the text into the terminal prompt slowly with color support.
Declaration
public static void WriteSlowlyColorBack(string msg, bool Line, 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 |
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. |
WriteSlowlyPlain(string, bool, double, params object[])
Outputs the text into the terminal prompt slowly with color support.
Declaration
public static void WriteSlowlyPlain(string msg, bool Line, 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 |
double | MsEachLetter | Time in milliseconds to delay writing |
object[] | vars | Variables to format the message before it's written. |