SetBackgroundColor256 class final
Sets the background color to one of the 256 colors.
This command is compatible with both 4-bit and 8-bit color terminals, where
the color is a value between 0
and 255
, inclusive. Any value outside
this range will be clamped to the nearest valid value.
Constructors
- SetBackgroundColor256(int color)
-
Creates a set background color command.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSequence(
) → Sequence -
Returns the ANSI escape sequence for this command.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- reset → const SetColor16
- Resets the background color to the default color.