Shape interface
A container one unit tall: its profile from the bottom centre up to the top centre as radius and height pairs, the band the label may take, where the cap begins and the default colours.
import type { Shape } from '@dioramajs/model/label'. Proportions of a 330 ml can, a 750 ml wine bottle and a 250 ml jar.
interface ShapeMembers
| Name | Type | Description |
|---|---|---|
readonly band | readonly [number, number] | |
readonly cap | number | |
readonly capColor | string | |
readonly color | string | |
readonly profile | readonly readonly [number, number][] | |
readonly radius | number |
Defined in packages/model/src/label.ts.