Skip to content
pixi-silk
GitHub repository
Interface

ColorPickerOptions

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

Options every picker accepts.

Extended by#

Properties#

PropertyTypeDescriptionDefined in
model?ColorModelThe colour to edit. Pickers sharing a model stay in sync. Default: a new 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.ui/color/ColorPicker.ts:17
ticker?Ticker | nullTicker driving the handle motion. Default Ticker.shared, null for manual ColorPicker.tick.ui/color/ColorPicker.ts:15