Namespace MLEM.Formatting
Classes
- TextFormatter
A text formatter is used for drawing text using GenericFont that contains different colors, bold/italic sections and animations. To format a string of text, use the codes as specified in the constructor. To tokenize and render a formatted string, use Tokenize(GenericFont, string, TextAlignment).
- Token
A part of a TokenizedString that has a certain list of formatting codes applied.
- TokenizedString
A tokenized string that was created using a TextFormatter
Enums
- TextAlignment
An enumeration that represents a set of alignment options for TokenizedString objects and MLEM.Ui paragraphs.
Delegates
- TextFormatter.Macro
Represents a text formatting macro. Used by Macros.