text
Properties
BOLD
Type: const TextFormat
Text-format flag that renders supported text in bold.
ITALIC
Type: const TextFormat
Text-format flag that renders supported text in italics.
NONE
Type: const TextFormat
Text-format flag that applies no extra formatting.
Functions
operator+
navi
text.operator+(a: TextFormat, b: TextFormat): TextFormatCombines two text-format flags (bitwise OR).
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
a | TextFormat | ||
b | TextFormat |
Returns: TextFormat
operator-
navi
text.operator-(a: TextFormat, b: TextFormat): TextFormatRemoves text-format flags from the first operand (bitwise difference).
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
a | TextFormat | ||
b | TextFormat |
Returns: TextFormat