ChannelSlidersOptions
import type { ChannelSlidersOptions } from 'pixi-silk/ui/color';
Options of ChannelSliders.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
alpha? | boolean | Adds an alpha track. Default true. | ui/color/ColorSlider.ts:226 |
gap? | number | Space between tracks in local units. Default 12. | ui/color/ColorSlider.ts:232 |
height? | number | Track thickness in local units. Default 16. | ui/color/ColorSlider.ts:230 |
labels? | boolean | Letter labels before the tracks. They take 22 units on the left. Default true. | ui/color/ColorSlider.ts:234 |
mode? | "rgb" | "hsv" | "oklch" | Which channels: hsv, rgb or oklch. Default hsv. | ui/color/ColorSlider.ts:224 |
model? | ColorModel | The colour every track edits. Default: one new model that all the tracks share. | ui/color/ColorSlider.ts:222 |
profiles? | Partial<Record<InputKind, Partial<InputProfile>>> | Passed to every track. | ui/color/ColorSlider.ts:238 |
ticker? | Ticker | null | Passed to every track. See ColorPickerOptions.ticker. | ui/color/ColorSlider.ts:236 |
width? | number | Track length in local units. Default 220. | ui/color/ColorSlider.ts:228 |