@pbroom/color-kit/reactPlane geometry
ColorPlaneQueryOptions
Interaction options shared by the geometry hooks (useGamutBoundary, useChromaBand, useContrastRegion).
import type { ColorPlaneQueryOptions } from '@pbroom/color-kit/react';plane-spec.ts:41interface ColorPlaneQueryOptions {
quality?: ColorPlaneQualityLevel;
isDragging?: boolean;
performanceProfile?: ColorPlanePerformanceProfile;
}Properties
- quality?
ColorPlaneQualityLeveldefault'high' - Sampling detail. Pass
useAdaptiveQuality'squalityto coarsen sampling while frames are slow. - isDragging?
booleandefaultfalse - Whether the plane is being dragged. While true, queries run in a shared Web Worker (when available) and the last result stays in place until a fresh one arrives; at rest they run synchronously.
- performanceProfile?
ColorPlanePerformanceProfiledefault'auto' - Profile forwarded to the worker's compute scheduler.