# Rest

interface in `@dioramajs/text/tunnel`

```ts
import type { Rest } from '@dioramajs/text/tunnel'
```

One phrase at rest: its ink's centre in box-centre px (y up) and half its size.

```ts
interface Rest
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `halfHeight` | `number` |  |
| `halfWidth` | `number` |  |
| `x` | `number` |  |
| `y` | `number` |  |

Defined in [packages/text/src/tunnel.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/tunnel.ts#L167).
