# onScreen

function in `@dioramajs/text/tunnel`

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

The corners of a placed phrase's ink on screen, box-centre px (y up), in order around it.

```ts
function onScreen(at: Placed, rest: Rest, eye: number): Point[]
```

| Parameter | Type | Description |
| --- | --- | --- |
| `at` | `Placed` |  |
| `rest` | `Rest` |  |
| `eye` | `number` |  |

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