Skip to content
pixi-silk
GitHub repository
Interface

ColorSliderOptions

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

Options of ColorSlider.

Extends#

Properties#

PropertyTypeDescriptionInherited fromDefined in
channelColorChannelThe channel this track edits.-ui/color/ColorSlider.ts:21
height?numberTrack thickness in local units. Default 18.-ui/color/ColorSlider.ts:25
model?ColorModelThe colour to edit. Pickers sharing a model stay in sync. Default: a new model.ColorPickerOptions.modelui/color/ColorPicker.ts:13
orientation?"horizontal" | "vertical"vertical runs bottom (0) to top (1). Default horizontal.-ui/color/ColorSlider.ts:27
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
ticker?Ticker | nullTicker driving the handle motion. Default Ticker.shared, null for manual ColorPicker.tick.ColorPickerOptions.tickerui/color/ColorPicker.ts:15
width?numberTrack length in local units. Default 220.-ui/color/ColorSlider.ts:23