@pbroom/color-kit/planeTypes

PlaneGamutRegionQuery

Query for getPlaneGamutRegion.

interfaceimport type { PlaneGamutRegionQuery } from '@pbroom/color-kit/plane';types.ts:302
interface 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 0 to keep every vertex.

Also exported from