ANSISGRCommand class
Terminal ANSI SGR commands
Constructors
- ANSISGRCommand.backgroundColor(int color)
-
Traditional background color.
factory
- ANSISGRCommand.backgroundColorBright(int color)
-
Traditional bright background color.
factory
- ANSISGRCommand.backgroundColorPalette(int color)
-
Palette background color.
factory
- ANSISGRCommand.backgroundColorRGB(int r, int g, int b)
-
RGB "true-color" background color.
factory
- ANSISGRCommand.foregroundColor(int color)
-
Traditional foreground color
factory
- ANSISGRCommand.foregroundColorBright(int color)
-
Traditional bright foreground color.
factory
- ANSISGRCommand.foregroundColorPalette(int color)
-
Palette foreground color
factory
- ANSISGRCommand.foregroundColorRGB(int r, int g, int b)
-
RGB "true-color" foreground color.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- backgroundColorKeep → const ANSISGRCommand
- Keep current background color (effective no-op).
- blink → const ANSISGRCommand
- Blink (not very fast)
- bold → const ANSISGRCommand
- Set Bold.
- foregroundColorKeep → const ANSISGRCommand
- Keep current foreground color (effective no-op).
- reset → const ANSISGRCommand
- Set Normal (all attributes off).
- underline → const ANSISGRCommand
- Underline