Optional
low: numberOptional
high: numberOptional
bg: numberOptional
fg: numberOptional
ul: numberOptional
us: UnderlineStyleReadonly
bgReadonly
fgProtected
Readonly
highProtected
Readonly
lowReadonly
ulReadonly
usSets background color.
basic, indexed or (packed) RGB color
Sets foreground color.
basic, indexed or (packed) RGB color
Check if a bit is set at the specified position
The bit position (0-63)
true if the bit is set, false otherwise
An iterator of all keys (bit positions) in the bitfield
Set a bit at the specified position
The bit position (0-63)
Optional
bg: numberbackground color
Optional
fg: numberforeground color
Optional
ul: numberunderline color
Optional
us: UnderlineStyleunderline style
A new Attributes instance with the bit set
Toggle a bit at the specified position
The bit position (0-63)
A new Attributes instance with the bit toggled
Optional
radix: numberSets underline color.
basic, indexed or (packed) RGB color
Unset a bit at the specified position
The bit position (0-63)
Optional
bg: numberbackground color
Optional
fg: numberforeground color
Optional
ul: numberunderline color
Optional
us: UnderlineStyleunderline style
A new Attributes instance with the bit unset
An iterator of all values in the bitfield
Protected
withOptional
low: numberOptional
high: numberOptional
bg: numberOptional
fg: numberOptional
ul: numberOptional
us: UnderlineStyleStatic
andStatic
assertStatic
fromOptional
bg: numberOptional
fg: numberOptional
ul: numberOptional
us: numberOptional
bg: numberOptional
fg: numberOptional
ul: numberOptional
us: UnderlineStyleStatic
notStatic
orStatic
packStatic
unpackStatic
xor
SGR Attributes