# Optics

interface in `@dioramajs/text/lens`

```ts
import type { Optics } from '@dioramajs/text/lens'
```

The glass: a biconvex lens of aperture `a` with both faces of sag `sag`, edge `edge` thick.

```ts
interface Optics
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `a` | `number` |  |
| `edge` | `number` | Half the thickness of the edge. |
| `height` | `number` | Height of the lens's middle over the page. |
| `r` | `number` | Radius of both faces. |
| `sag` | `number` |  |
| `zoom` | `number` | Magnification the lens gives at its centre. |

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