BBCodeParser Class
Definition
Namespace: Brine2D.Rendering.Text
Parses BBCode-style markup into styled text runs. Supported tags: [color=#RRGGBB], [size=N], [b], [i], [u], [s]
Inheritance System.Object → BBCodeParser
Implements IMarkupParser
Example
C#
var parser = new BBCodeParser();
var runs = parser.Parse(
"Hello [color=#FF0000]World[/color]!",
new TextRenderOptions());
| Methods | |
|---|---|
| Parse\(string, TextRenderOptions\) | Parse markup text into a collection of styled text runs. |