PlaneContrastRegionResult
Result of getPlaneContrastRegion.
import type { PlaneContrastRegionResult } from '@pbroom/color-kit/plane';types.ts:495interface PlaneContrastRegionResult {
kind: 'contrastRegion';
hue: number;
paths: PlaneRegionPoint[][];
}Properties
- kind
'contrastRegion' - hue
number - OKLCH hue the region was traced at, in degrees.
- paths
PlaneRegionPoint[][] - Contour lines bounding the passing area (typically one per side of the reference), longest first; empty on planes that are not OKLCH lightness × chroma or when no color passes.
Also exported from
@pbroom/color-kitthe same declaration, re-exported