import type { LineRun } from 'pixi-silk/text';
A run of a line that goes one way, as LayoutLine.runs lists them.
Properties#
| Property | Type | Description | Defined in |
|---|
end | number | Source offset after the run’s last character. | packages/pixi-silk/src/text/layout.ts:138 |
left | number | Left edge of the run. | packages/pixi-silk/src/text/layout.ts:140 |
right | number | Right edge of the run. | packages/pixi-silk/src/text/layout.ts:142 |
rtl | boolean | True when the run reads right to left. | packages/pixi-silk/src/text/layout.ts:144 |
start | number | Source offset of the run’s first character. | packages/pixi-silk/src/text/layout.ts:136 |