Text
2 pages
-
get_text_layoutThe layout of drawn text nodeId (a 2D text shape or a 3D label) in its own frame and units of its font size, x right and y down: { revision, width, height, firstBaseline, inkBounds, lines: [{ start, end, x, top, baseline, width, trailing, rtl }], missing, missingCount } (offsets in UTF-16 units; missing: the first 16 code points no registered font maps). -
get_fontsThe font families the host registered: [{ fontKey, faces: [{ weight (a variable face: its [min, max] wght range), italic, variable }], synthetic (styles drawn by shearing or emboldening), fallback, state: loading | ready | failed }].