Skip to content
pixi-silk
GitHub repository
Interface

LineRun

import type { LineRun } from 'pixi-silk/text';

A run of a line that goes one way, as LayoutLine.runs lists them.

Properties#

PropertyTypeDescriptionDefined in
endnumberSource offset after the run’s last character.packages/pixi-silk/src/text/layout.ts:138
leftnumberLeft edge of the run.packages/pixi-silk/src/text/layout.ts:140
rightnumberRight edge of the run.packages/pixi-silk/src/text/layout.ts:142
rtlbooleanTrue when the run reads right to left.packages/pixi-silk/src/text/layout.ts:144
startnumberSource offset of the run’s first character.packages/pixi-silk/src/text/layout.ts:136