# Board

interface in `@dioramajs/text/keycaps`

```ts
import type { Board } from '@dioramajs/text/keycaps'
```

The keys and the case round them.

```ts
interface Board
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `case` | `readonly [number, number, number, number]` | The case in box px: centre x, centre y (y down), width, height. |
| `keys` | `readonly KeyPlan[]` |  |
| `rows` | `number` |  |
| `unit` | `number` | Key pitch, px. |
| `well` | `readonly [number, number, number, number]` | The plate the keys sit on, keyboard px: centre x, y, half width, half height. |

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