MotionScript

@motion-script/core


@motion-script/core / TextBlockLayout

Interface: TextBlockLayout

Defined in: render/text-layout.ts:45

A shaped text block: its lines, and the size the shaping produced.

width/height are the block's own extent, which is what a hugging node measures to — not the box it may have been aligned within.

Properties

height

height: number

Defined in: render/text-layout.ts:48


lines

lines: TextBlockLine[]

Defined in: render/text-layout.ts:46


width

width: number

Defined in: render/text-layout.ts:47