# cut

function in `@dioramajs/text/blinds`

```ts
import { cut } from '@dioramajs/text/blinds'
```

Cuts the panel over `lines` (and `also`, the lines of the second text): `slats` strips per line,
or columns and square tiles of a like size.

```ts
function cut(
  style: Style,
  lines: readonly Line[],
  slats: number,
  also?: readonly Line[],
): Grid
```

| Parameter | Type | Description |
| --- | --- | --- |
| `style` | `Style` |  |
| `lines` | `readonly Line[]` |  |
| `slats` | `number` |  |
| `also?` | `readonly Line[]` |  |

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