Rest interface
One phrase at rest: its ink's centre in box-centre px (y up) and half its size.
import type { Rest } from '@dioramajs/text/tunnel'interface RestMembers
| Name | Type | Description |
|---|---|---|
readonly halfHeight | number | |
readonly halfWidth | number | |
readonly x | number | |
readonly y | number |
Defined in packages/text/src/tunnel.ts.