Constructs a Text to be used for a Label.
the actual content of this Text.
char for lineFeed, default is LF.
Intended for resetting alteration status.
Intended for resetting alteration status.
Length of the text, i.e., number of characters within the text.
Character that is to be used for Line feed.
Character that is to be used for Line feed.
Text that is to be rendered.
Text that is to be rendered.
Returns the character at the specified index.
The zero-based index of the desired character.
character at the specified index
Returns the Unicode value (codepoint) of the character at the specified location.
The zero-based index of the desired character.
The text object is intended as character sequence manipulation interface. A text can be referenced by multiple labels for rendering and interaction. E.g., a single text could be rendered multiple times at different locations or using different font faces, alignments, etc. The text object will probably increase in complexity when additional features such as text formatting (bold, italic, varying size), (multi)cursor, (multi)selection, etc. will be added.