Skip to content

visualRuns()

function visualRuns(text, base): VisualRun[];

Reorders one line of text for display and returns runs of uniform level in visual order, each with its characters already in visual order. Bidi controls are removed.

Parameter Type
text string
base BaseDirection

VisualRun[]