pixi-wheels

LabelSlot

pixi-wheels


pixi-wheels / index / LabelSlot

Interface: LabelSlot

Defined in: utils/fit.ts:88

The room a label has inside its wedge. width/height are the fit box, oriented like the label.

Properties#

PropertyTypeDescriptionDefined in
chordnumberStraight-line room across the wedge at radius, minus the margin.utils/fit.ts:92
heightnumberFit box height, the other axis.utils/fit.ts:98
radialnumberRoom along the radius, centred on radius, inside the ring band.utils/fit.ts:94
radiusnumberDistance from the hub to the label’s centre, px.utils/fit.ts:90
widthnumberFit box width in the label’s own orientation: along the radius for 'radial', along the chord otherwise.utils/fit.ts:96