# corners

function in `@dioramajs/text/shatter`

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

A shard's corners in its own frame: px from the pivot, y up, counterclockwise.

```ts
function corners(shard: Shard): number[]
```

| Parameter | Type | Description |
| --- | --- | --- |
| `shard` | `Shard` |  |

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