Skip to content

Text

Brine2D

Brine2D.Rendering.Text Namespace

Classes
BBCodeParser Parses BBCode-style markup into styled text runs. Supported tags: [color=#RRGGBB], [size=N], [b], [i], [u], [s]
PlainTextParser A no-op parser that treats all text as plain text (no markup processing). Useful when you want to guarantee that special characters are rendered literally.
Structs
TextRenderOptions Options for text rendering with rich formatting support.
TextRun Represents a contiguous span of text with uniform styling.
Interfaces
IMarkupParser Interface for parsing markup text into styled text runs. Implement this to support custom markup formats (Markdown, HTML, etc.).
Enums
TextAlignment Horizontal text alignment.
TextStyle Text styling flags (can be combined).
VerticalAlignment Vertical text alignment.