ColoredString Type
Represents a string that can be printed out in the console with colors. A colored string is a list of colored segments, each of which represents a string with a specific color.
Constructors
| Constructor |
Description
|
|
|
|
Constructs a colored string from a color and a string.
|
|
Constructs an empty colored string.
|
Instance members
| Instance member |
Description
|
|
|
Full Usage:
this.Length
Returns: int
|
Returns the length of the colored string.
|
|
Pads the colored string with spaces on the left to the given width.
|
|
Pads the colored string with spaces on the right to the given width.
|
|
Renders the colored string by applying the given function to each colored segment.
|
B2R2