Skip to content
pixi-silk
GitHub repository
Interface

HueRingOptions

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

Options of the hue-ring pickers.

Extends#

Properties#

PropertyTypeDescriptionInherited fromDefined in
gap?numberSpace between the ring and the inner area, local units. Default 8.-ui/color/rings.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
ringWidth?numberThickness of the hue ring, local units. Default 18.-ui/color/rings.ts:13
size?numberOuter diameter, local units. Default 220.-ui/color/rings.ts:11
ticker?Ticker | nullTicker driving the handle motion. Default Ticker.shared, null for manual ColorPicker.tick.ColorPickerOptions.tickerui/color/ColorPicker.ts:15