PegConfig
pixi-wheels
pixi-wheels / index / PegConfig
Interface: PegConfig
Defined in: config/types.ts:377
The pegs a tongue touches: small circles on the disc, one per divider by
default. They give the pointer flap its physics and the debug overlay
draws them; a skin may draw them too (GraphicsRingSkin pegs).
Properties#
| Property | Type | Description | Defined in |
|---|
angles? | number[] | Local angles of the pegs, degrees. Default every divider, so dynamic sections keep their pegs on the lines. | config/types.ts:389 |
inset? | number | How far inside the rim the peg centres sit, px. Defaults to pointer.tipInset + size - 2, which puts the peg ring just inside the first tongue’s tip so a peg bites 2 px into the blade. Pegs set further out sit past the tip, and the blade then has to swing clear over its whole width to let one through. | config/types.ts:387 |
size? | number | Peg radius, px. Default 6. | config/types.ts:379 |