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

Run = TextRun | FractionRun | LineBreakRun

Defined in

Last Updated: 17 December, 2024