1681-engine / ui / layoutRichText
Function: layoutRichText() ​
ts
function layoutRichText(
spans,
measure,
options?
): RichLayout;Defined in: src/ui/rich/richLayout.ts:92
Breaks spans into lines and places every run and icon.
Parameters ​
| Parameter | Type |
|---|---|
spans | readonly RichSpan[] |
measure | RichMeasure |
options | RichLayoutOptions |