Wrapped interface
The letters laid out on the form.
import type { Wrapped } from '@dioramajs/text/orbit'interface WrappedMembers
| Name | Type | Description |
|---|---|---|
readonly cells | Float32Array | Per letter: arc position of the cell's left edge, its top (y up), width, height, px. |
readonly copies | readonly number[] | Copies of each row, the element's own lines first. |
readonly count | number | Letters, copies included. |
readonly radius | number | Radius of the form, px: at least the one asked for, more when a line would not fit. |
readonly rows | Float32Array | Per letter: its row's radius as a share of the form's. |
readonly spots | Float32Array | Per letter: the cell in the atlas, left, top, width, height as shares of the atlas. |
Defined in packages/text/src/orbit.ts.