# shape

function in `@dioramajs/text/shatter`

```ts
import { shape } from '@dioramajs/text/shatter'
```

```ts
function shape(pieces: Cut, style: Style): Shape
```

| Parameter | Type | Description |
| --- | --- | --- |
| `pieces` | `Cut` |  |
| `style` | `Style` |  |

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