@dioramajs/model/label
Exports of @dioramajs/model/label.
On this page
import { default, placement, SHAPES } from '@dioramajs/model/label'Functions
placement | Where a label of `aspect` (width over height) lies on `shape`: the band's bottom and top and the angle it wraps. 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. |
Constants
Interfaces
Shape | 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. Proportions of a 330 ml can, a 750 ml wine bottle and a 250 ml jar. |