PointerSpec
pixi-wheels / index / PointerSpec
Interface: PointerSpec
Defined in: core/WheelBuilder.ts:38
A pointer as the builder accepts it: placement plus a skin instance or config.
Extends#
Properties#
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
angle? | number | Screen angle in degrees. -90 is twelve o’clock (the default), 0 is three o’clock. | PointerConfig.angle | config/types.ts:428 |
facing? | PointerFacing | 'inward' (default) sits on the rim with the tip pointing at the hub; 'outward' sits at the hub pointing out. | PointerConfig.facing | config/types.ts:430 |
flap? | false | FlapConfig | Flap physics against the ring’s pegs, or false to keep the pointer rigid. | PointerConfig.flap | config/types.ts:434 |
id? | string | Unique id within the ring. Default 'pointer' for the first one. | PointerConfig.id | config/types.ts:426 |
skin? | | PointerSkin | PointerSkinConfig | - | - | core/WheelBuilder.ts:39 |
tipInset? | number | How far the tip reaches past the rim into the sections (or past the hub). Default 18. | PointerConfig.tipInset | config/types.ts:432 |