Optics interface
The glass: a biconvex lens of aperture `a` with both faces of sag `sag`, edge `edge` thick.
import type { Optics } from '@dioramajs/text/lens'interface OpticsMembers
| Name | Type | Description |
|---|---|---|
readonly a | number | |
readonly edge | number | Half the thickness of the edge. |
readonly height | number | Height of the lens's middle over the page. |
readonly r | number | Radius of both faces. |
readonly sag | number | |
readonly zoom | number | Magnification the lens gives at its centre. |
Defined in packages/text/src/lens.ts.