Skip to content

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): TextFormat

Combines two text-format flags (bitwise OR).

Parameters

NameTypeDefaultDescription
aTextFormat
bTextFormat

Returns: TextFormat


operator-

navi
text.operator-(a: TextFormat, b: TextFormat): TextFormat

Removes text-format flags from the first operand (bitwise difference).

Parameters

NameTypeDefaultDescription
aTextFormat
bTextFormat

Returns: TextFormat

Released under the MIT License.