pixi-wheels

TextureRingSkinOptions

pixi-wheels


pixi-wheels / index / TextureRingSkinOptions

Interface: TextureRingSkinOptions

Defined in: skins/TextureRingSkin.ts:19

Properties#

PropertyTypeDescriptionDefined in
decorations?TextureRingDecoration[]Per-section sprites positioned by geometry (value plates, icons).skins/TextureRingSkin.ts:30
faceTextureThe painted disc. Centred and rotated with the wheel.skins/TextureRingSkin.ts:21
faceRotation?numberRotate the face so its section 0 lines up with the ring’s startAngle. Degrees. Default 0.skins/TextureRingSkin.ts:23
fitToRadius?booleanScale 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?booleanAlso draw text labels from the section configs. Default false: the face usually carries them.skins/TextureRingSkin.ts:32