TextBlock
type TextBlock = Extract<ContentObjectSpec, { text: unknown;}>["text"];Defined in: packages/sdk/src/types.ts:2002
Text laid out in a box, as an added text object holds it: { width, height, runs, align?, fonts?, size?, color? }. The box is width by height points, (0, 0) its bottom-left corner and y
up as text is set; DocumentContent.addText places it so it shows where its rect is.
0.7.0