ResolvedSection
pixi-wheels / index / ResolvedSection
Interface: ResolvedSection
Defined in: config/types.ts:119
A section with its geometry resolved. Angles are wheel-local degrees:
they rotate with the disc. startAngle is where the section begins going
clockwise; endAngle = startAngle + arc. Both are kept unnormalised and
increasing across the ring so endAngle of section i equals
startAngle of section i + 1.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
arc | number | Angular size in degrees. | config/types.ts:132 |
content? | LabelContent | Rich label content, when the section has one. | config/types.ts:136 |
endAngle | number | Local end angle in degrees. | config/types.ts:128 |
id | string | - | config/types.ts:120 |
index | number | - | config/types.ts:121 |
label | string | - | config/types.ts:122 |
midAngle | number | Local centre angle in degrees. | config/types.ts:130 |
startAngle | number | Local start angle in degrees (clockwise edge first in layout order). | config/types.ts:126 |
style | ResolvedSectionStyle | - | config/types.ts:133 |
tags | readonly string[] | - | config/types.ts:134 |
value | string | number | undefined | - | config/types.ts:123 |
weight | number | - | config/types.ts:124 |