Sheet interface
How the text block is cut, and the units that open one after another.
import type { Sheet } from '@dioramajs/text/unfold'interface SheetMembers
| Name | Type | Description |
|---|---|---|
readonly anchor | number | Accordion: the point that stays put, 0 left edge, 0.5 middle, 1 right edge. |
readonly cuts | readonly Cut[] | |
readonly em | number | Largest font size, px. |
readonly style | Style | |
readonly units | readonly readonly [number, number, number, number, number][] | Per unit, in opening order: its area (x0, y0, x1, y1, box px) and the hover reach, px. |
Defined in packages/text/src/unfold.ts.