TextureRingSkinOptions
pixi-wheels / index / TextureRingSkinOptions
Interface: TextureRingSkinOptions
Defined in: skins/TextureRingSkin.ts:19
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
decorations? | TextureRingDecoration[] | Per-section sprites positioned by geometry (value plates, icons). | skins/TextureRingSkin.ts:30 |
face | Texture | The painted disc. Centred and rotated with the wheel. | skins/TextureRingSkin.ts:21 |
faceRotation? | number | Rotate the face so its section 0 lines up with the ring’s startAngle. Degrees. Default 0. | skins/TextureRingSkin.ts:23 |
fitToRadius? | boolean | Scale the face so its width equals twice the outer radius. Default true. | skins/TextureRingSkin.ts:25 |
frame? | Texture<TextureSource<any>> | A texture that does not rotate: a frame, bulbs, a bezel. Centred on the ring. | skins/TextureRingSkin.ts:27 |
frameScale? | number | - | skins/TextureRingSkin.ts:28 |
labels? | boolean | Also draw text labels from the section configs. Default false: the face usually carries them. | skins/TextureRingSkin.ts:32 |