placement function
Where a label of `aspect` (width over height) lies on `shape`: the band's bottom and top and the angle it wraps.
import { placement } from '@dioramajs/model/label'. It keeps its proportions: the band's height, and the angle that width takes around the body; a label too long for one turn gets a lower band instead.
function placement(shape: Shape, aspect: number): [number, number, number]Parameters
| Name | Type | Description |
|---|---|---|
shape | Shape | |
aspect | number |
Defined in packages/model/src/label.ts.