enum
TermBuf::Attributes
Overview
Character attributes that can be combined freely.
The underline styles are deliberately not in here: a cell has at most one
of them, so they live in Underline where the type enforces that.
Defined in:
termbuf/core/style.crEnum Members
-
Bold =
1_u16 -
Faint =
2_u16 -
Italic =
4_u16 -
SlowBlink =
8_u16 -
RapidBlink =
16_u16 -
Reverse =
32_u16 -
Conceal =
64_u16 -
Strike =
128_u16 -
Overline =
256_u16 -
Superscript =
512_u16 -
Subscript =
1024_u16 -
None =
0_u16 -
All =
2047_u16
Instance Method Summary
-
#bold?
Returns
trueif this enum value containsBold -
#conceal?
Returns
trueif this enum value containsConceal -
#faint?
Returns
trueif this enum value containsFaint -
#italic?
Returns
trueif this enum value containsItalic - #none?
-
#overline?
Returns
trueif this enum value containsOverline -
#rapid_blink?
Returns
trueif this enum value containsRapidBlink -
#reverse?
Returns
trueif this enum value containsReverse -
#slow_blink?
Returns
trueif this enum value containsSlowBlink -
#strike?
Returns
trueif this enum value containsStrike -
#subscript?
Returns
trueif this enum value containsSubscript -
#superscript?
Returns
trueif this enum value containsSuperscript