PlaneGamutRegionQuery
Query for getPlaneGamutRegion.
import type { PlaneGamutRegionQuery } from '@pbroom/color-kit/plane';types.ts:302interface PlaneGamutRegionQuery {
kind: 'gamutRegion';
gamut?: GamutTarget;
scope?: PlaneGamutRegionScope;
simplifyTolerance?: number;
}Properties
- kind
'gamutRegion' - gamut?
GamutTargetdefault'srgb' - Gamut whose in-gamut area is computed.
- scope?
PlaneGamutRegionScopedefault'viewport' 'viewport'clips boundary paths to the plane window;'full'traces them across the whole channel domain. The visible region is always clipped to the window.- simplifyTolerance?
number - Path simplification tolerance in normalized plane coordinates. Omit or
0to keep every vertex.
Also exported from
@pbroom/color-kitthe same declaration, re-exported