Run Namespace

A sequence of characters within a Paragraph that share a single style. Runs are the leaf nodes of a TextBlock document. When laid out for display, a single run may span multiple lines, but it will never contain different styling. Use the type field to discriminate between the different kinds of runs.

Function

Name Description
Run.fromJSON Create a run from its JSON representation.

Defined in

Run Type alias

Run = TextRun | FractionRun | LineBreakRun

Defined in

Last Updated: 05 May, 2024