IMarkupParser.Parse(string, TextRenderOptions) Method
Definition¶
Namespace: Brine2D.Rendering.Text
Parse markup text into a collection of styled text runs.
System.Collections.Generic.IReadOnlyList<Brine2D.Rendering.Text.TextRun> Parse(string markup, Brine2D.Rendering.Text.TextRenderOptions options);
Parameters¶
markup System.String
Raw text with markup tags
options TextRenderOptions
Rendering options (provides default styling)
Returns¶
System.Collections.Generic.IReadOnlyList<TextRun>
Collection of text runs with applied styles