Class Ansi
Inheritance
System.Object
Ansi
Namespace: Log73
Assembly: Log73.dll
Syntax
public static class Ansi : object
Properties
|
Improve this Doc
View Source
BlinkOff
Declaration
public static string BlinkOff { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Bold
Declaration
public static string Bold { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BoldOff
Declaration
public static string BoldOff { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CrossedOut
Declaration
public static string CrossedOut { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CrossedOutOff
Declaration
public static string CrossedOutOff { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
DefaultBackgroundColor
Declaration
public static string DefaultBackgroundColor { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
DefaultForegroundColor
Declaration
public static string DefaultForegroundColor { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Faint
Declaration
public static string Faint { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Invert
Declaration
public static string Invert { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
InvertOff
Declaration
public static string InvertOff { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Italic
Declaration
public static string Italic { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Normal
Disable all ANSI effects.
Declaration
public static string Normal { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
NormalColor
Declaration
public static string NormalColor { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
NotItalic
Declaration
public static string NotItalic { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RapidBlink
Declaration
public static string RapidBlink { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SlowBlink
Declaration
public static string SlowBlink { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Underline
Declaration
public static string Underline { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UnderlineOff
Declaration
public static string UnderlineOff { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
ApplyColor(String, Nullable<Color>, Nullable<Color>, Boolean)
Declaration
public static string ApplyColor(string str, Color? foregroundColor, Color? backgroundColor, bool enable24BitColor)
Parameters
Type |
Name |
Description |
System.String |
str |
|
System.Nullable<Color> |
foregroundColor |
|
System.Nullable<Color> |
backgroundColor |
|
System.Boolean |
enable24BitColor |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BackgroundColor(String, Color)
Declaration
public static string BackgroundColor(string str, Color color)
Parameters
Type |
Name |
Description |
System.String |
str |
|
Color |
color |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BestMatch(Color, IColorScheme)
Declaration
public static Color BestMatch(Color input, IColorScheme colorScheme)
Parameters
Returns
|
Improve this Doc
View Source
ColorToConsoleColor(Color, IColorScheme)
Declaration
public static ConsoleColor ColorToConsoleColor(Color color, IColorScheme colorScheme)
Parameters
Returns
Type |
Description |
ConsoleColor |
|
|
Improve this Doc
View Source
ForegroundColor(String, Color)
Declaration
public static string ForegroundColor(string str, Color color)
Parameters
Type |
Name |
Description |
System.String |
str |
|
Color |
color |
|
Returns
Type |
Description |
System.String |
|