SectionStyle
pixi-wheels / index / SectionStyle
Interface: SectionStyle
Defined in: config/types.ts:29
Per-section look. Everything is optional: a section with no style gets the skin’s palette colour for its index and the skin’s default label style. Skins that draw from textures or Spine ignore the paint fields and only read the label ones.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
alpha? | number | Fill alpha, default 1. | config/types.ts:33 |
fill? | number | Fill colour (0xRRGGBB). | config/types.ts:31 |
labelColor? | number | Label colour (0xRRGGBB). | config/types.ts:37 |
labelFit? | FitMode | How the label (text or content) is fitted into the room it has. Default 'contain'. | config/types.ts:49 |
labelFont? | string | CSS font family for the label. | config/types.ts:41 |
labelOrientation? | LabelOrientation | 'radial' (default) reads from the hub to the rim, 'tangential' follows the arc. | config/types.ts:45 |
labelRadius? | number | Where along the radius the label sits, as a fraction of the outer radius (0..1). | config/types.ts:47 |
labelSize? | number | Label font size in px at the ring’s authored radius. | config/types.ts:39 |
labelWeight? | string | Font weight for the label, e.g. '700'. | config/types.ts:43 |
stroke? | number | Divider / outline colour for this section only. | config/types.ts:35 |