Helper class for generating "Select Graphic Rendition" ANSI codes. For detailed explanation, see the Wikipedia article https://en.wikipedia.org/wiki/ANSI_escape_code
◆ Background() [1/6]
| static string TermColor.AnsiEscapeCodes.SGR.Background |
( |
Color24 |
clr | ) |
|
|
inlinestatic |
Creates a sequence which sets the background color to specified color in RGB color palette.
◆ Background() [2/6]
| static string TermColor.AnsiEscapeCodes.SGR.Background |
( |
Color4 |
clr | ) |
|
|
inlinestatic |
Creates a sequence which sets the background color to specified color in 16 color palette.
◆ Background() [3/6]
| static string TermColor.AnsiEscapeCodes.SGR.Background |
( |
Color8 |
clr | ) |
|
|
inlinestatic |
Creates a sequence which sets the background color to specified color in 256 color palette.
◆ Background() [4/6]
| static void TermColor.AnsiEscapeCodes.SGR.Background |
( |
this TextWriter |
tw, |
|
|
Color24 |
clr |
|
) |
| |
|
static |
Writes a sequence which sets the background color to specified color in RGB color palette to the specified writer.
◆ Background() [5/6]
| static void TermColor.AnsiEscapeCodes.SGR.Background |
( |
this TextWriter |
tw, |
|
|
Color4 |
clr |
|
) |
| |
|
static |
Writes a sequence which sets the background color to specified color in 16 color palette to the specified writer.
◆ Background() [6/6]
| static void TermColor.AnsiEscapeCodes.SGR.Background |
( |
this TextWriter |
tw, |
|
|
Color8 |
clr |
|
) |
| |
|
static |
Writes a sequence which sets the background color to specified color in 256 color palette to the specified writer.
◆ Foreground() [1/6]
| static string TermColor.AnsiEscapeCodes.SGR.Foreground |
( |
Color24 |
clr | ) |
|
|
inlinestatic |
Creates a sequence which sets the foreground color to specified color in RGB color palette.
◆ Foreground() [2/6]
| static string TermColor.AnsiEscapeCodes.SGR.Foreground |
( |
Color4 |
clr | ) |
|
|
inlinestatic |
Creates a sequence which sets the foreground color to specified color in 16 color palette.
◆ Foreground() [3/6]
| static string TermColor.AnsiEscapeCodes.SGR.Foreground |
( |
Color8 |
clr | ) |
|
|
inlinestatic |
Creates a sequence which sets the foreground color to specified color in 256 color palette.
◆ Foreground() [4/6]
| static void TermColor.AnsiEscapeCodes.SGR.Foreground |
( |
this TextWriter |
tw, |
|
|
Color24 |
clr |
|
) |
| |
|
inlinestatic |
Writes a sequence which sets the foreground color to specified color in RGB color palette to the specified writer.
◆ Foreground() [5/6]
| static void TermColor.AnsiEscapeCodes.SGR.Foreground |
( |
this TextWriter |
tw, |
|
|
Color4 |
clr |
|
) |
| |
|
inlinestatic |
Writes a sequence which sets the foreground color to specified color in 16 color palette to the specified writer.
◆ Foreground() [6/6]
| static void TermColor.AnsiEscapeCodes.SGR.Foreground |
( |
this TextWriter |
tw, |
|
|
Color8 |
clr |
|
) |
| |
|
inlinestatic |
Writes a sequence which sets the foreground color to specified color in 256 color palette to the specified writer.
◆ ResetColor() [1/2]
| static string TermColor.AnsiEscapeCodes.SGR.ResetColor |
( |
| ) |
|
|
static |
Creates a sequence which resets the text formatting.
◆ ResetColor() [2/2]
| static void TermColor.AnsiEscapeCodes.SGR.ResetColor |
( |
this TextWriter |
tw | ) |
|
|
static |
Writes a sequence which resets the text formatting to the specified writer.
The documentation for this class was generated from the following file: