Skip to content
pixi-silk
GitHub repository
Interface

ColorWheelOptions

import type { ColorWheelOptions } from 'pixi-silk/ui/color';

Options of ColorWheel.

Extends#

Properties#

PropertyTypeDescriptionInherited fromDefined in
gap?numberSpace between disc and strip, local units. Default 14.-ui/color/ColorWheel.ts:15
model?ColorModelThe colour to edit. Pickers sharing a model stay in sync. Default: a new model.ColorPickerOptions.modelui/color/ColorPicker.ts:13
profiles?Partial<Record<InputKind, Partial<InputProfile>>>Per pointer kind overrides. Touch gets bigger handles through the profile’s scale.ColorPickerOptions.profilesui/color/ColorPicker.ts:17
size?numberDisc diameter in local units. Default 200.-ui/color/ColorWheel.ts:11
stripWidth?numberWidth of the value strip on the right, local units. 0 hides it. Default 18.-ui/color/ColorWheel.ts:13
ticker?Ticker | nullTicker driving the handle motion. Default Ticker.shared, null for manual ColorPicker.tick.ColorPickerOptions.tickerui/color/ColorPicker.ts:15