corners function
A shard's corners in its own frame: px from the pivot, y up, counterclockwise.
import { corners } from '@dioramajs/text/shatter'function corners(shard: Shard): number[]Parameters
| Name | Type | Description |
|---|---|---|
shard | Shard |
Defined in packages/text/src/shatter.ts.