pixi-wheels

LabelContext

pixi-wheels


pixi-wheels / index / LabelContext

Interface: LabelContext

Defined in: config/types.ts:51

What a content factory receives: the section, its geometry and the room it has.

Properties#

PropertyTypeDescriptionDefined in
fit(obj: Container, options?: FitOptions) => numberScale obj into the slot (or a fraction of it via padding) and return the factor.config/types.ts:58
innerRadiusnumber-config/types.ts:54
outerRadiusnumber-config/types.ts:53
sectionResolvedSection-config/types.ts:52
slotLabelSlotThe fit box at the label radius, oriented like the label.config/types.ts:56