ColorWheelOptions
import type { ColorWheelOptions } from 'pixi-silk/ui/color';
Options of ColorWheel.
Extends#
Properties#
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
gap? | number | Space between disc and strip, local units. Default 14. | - | ui/color/ColorWheel.ts:15 |
model? | ColorModel | The colour to edit. Pickers sharing a model stay in sync. Default: a new model. | ColorPickerOptions.model | ui/color/ColorPicker.ts:13 |
profiles? | Partial<Record<InputKind, Partial<InputProfile>>> | Per pointer kind overrides. Touch gets bigger handles through the profile’s scale. | ColorPickerOptions.profiles | ui/color/ColorPicker.ts:17 |
size? | number | Disc diameter in local units. Default 200. | - | ui/color/ColorWheel.ts:11 |
stripWidth? | number | Width of the value strip on the right, local units. 0 hides it. Default 18. | - | ui/color/ColorWheel.ts:13 |
ticker? | Ticker | null | Ticker driving the handle motion. Default Ticker.shared, null for manual ColorPicker.tick. | ColorPickerOptions.ticker | ui/color/ColorPicker.ts:15 |