LabelContext
pixi-wheels / index / LabelContext
Interface: LabelContext
Defined in: config/types.ts:53
What a content factory receives: the section, its geometry and the room it has.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
fit | (obj: Container, options?: FitOptions) => number | Scale obj into the slot (or a fraction of it via padding) and return the factor. | config/types.ts:60 |
innerRadius | number | - | config/types.ts:56 |
outerRadius | number | - | config/types.ts:55 |
section | ResolvedSection | - | config/types.ts:54 |
slot | LabelSlot | The fit box at the label radius, oriented like the label. | config/types.ts:58 |