Interface DefaultTextData
interface DefaultTextData {
"[defaultTextDataBrand]": true;
"[textDataBrand]": true;
height: number;
runs: readonly GlyphRun[];
width: number;
}
"[defaultTextDataBrand]": true;
"[textDataBrand]": true;
height: number;
runs: readonly GlyphRun[];
width: number;
}
Hierarchy (View Summary)
- TextData
- DefaultTextData
Properties
Readonly[default Text Data Brand]
"[defaultTextDataBrand]": true
Readonly[text Data Brand]
"[textDataBrand]": true
Readonlyheight
height: number
Pixel-space height of the laid-out run (lines × line-height).
Readonlyruns
Live, in-insertion-order view of the runs currently rendered. Mutated by
updateTextData. Do not mutate from outside.
Readonlywidth
width: number
Pixel-space width of the laid-out run (max line width).
Convenience text-data variant that owns its
GlyphStorageand exposes the laid-out pixel-spacewidth/heightof the text block. Produced bycreateDefaultTextData.