@pbroom/color-kit/driverColor slider
ColorSliderKeyOptions
Options for colorFromColorSliderKey.
import type { ColorSliderKeyOptions } from '@pbroom/color-kit/driver';color-slider.ts:32interface ColorSliderKeyOptions {
largeStepRatio?: number;
wrap?: boolean;
}Properties
- largeStepRatio?
numberdefault0.1 - PageUp/PageDown step as a ratio of the range.
- wrap?
booleandefaulttrue for the hue channel, false otherwise - Wrap around the range ends instead of clamping.