# edges

function in `@dioramajs/text/shatter`

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

The edges of each shard as half-planes in its own frame: unit normal out and offset.

```ts
function edges(
  c: Cut,
  rows: number,
  out?: Float32Array<ArrayBuffer>,
): Float32Array<ArrayBuffer>
```

| Parameter | Type | Description |
| --- | --- | --- |
| `c` | `Cut` |  |
| `rows` | `number` |  |
| `out?` | `Float32Array<ArrayBuffer>` |  |

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