Optional
attributes: AttributesReadonly
attributesBitfield for style attributes
Add a background color attribute to the style.
Add a foreground color attribute to the style.
Static
backgroundStatic
Readonly
emptyEmpty Style
Static
foregroundAdd a blink attribute to the style (alias for slowBlink).
Add a bold attribute to the style.
Add a conceal attribute to the style.
Copy this style.
Add a curly underline attribute to the style.
Add a dashed underline attribute to the style.
Add a default background color attribute to the style.
Add a default foreground color attribute to the style.
Add a default underline color attribute to the style.
Add a dotted underline attribute to the style.
Add a double underline attribute to the style.
Add a faint attribute to the style.
Formats a string with this style applied.
Add an italic attribute to the style.
Add a no blink attribute to the style.
Add a no conceal attribute to the style.
Add a no italic attribute to the style.
Add a no reverse attribute to the style.
Add a normal intensity attribute to the style.
Add a no strikethrough attribute to the style.
Add a no underline attribute to the style.
Add a rapid blink attribute to the style.
Add a reset attribute to the style.
Add a reverse video attribute to the style.
Add a slow blink attribute to the style.
Add a strikethrough attribute to the style.
Returns the ANSI SGR
(Select Graphic Rendition) string representation of the
style.
Static
backgroundStatic
blinkStatic
boldStatic
concealStatic
copyStatic
curlyStatic
dashedStatic
defaultStatic
defaultStatic
defaultStatic
dottedStatic
doubleStatic
faintStatic
foregroundStatic
fromCreate a Style from an object of attributes properties.
Static
isStatic
italicStatic
noStatic
noStatic
noStatic
noStatic
normalStatic
noStatic
noStatic
rapidStatic
resetStatic
reverseStatic
slowStatic
strikethroughStatic
underlineStatic
underlineStatic
underline
An interface for style-able objects.
See
Style