@pbroom/color-kit/planeTypes

PlaneGamutRegionResult

Result of getPlaneGamutRegion.

interfaceimport type { PlaneGamutRegionResult } from '@pbroom/color-kit/plane';types.ts:463
interface PlaneGamutRegionResult {
  kind: 'gamutRegion';
  gamut: GamutTarget;
  scope: PlaneGamutRegionScope;
  viewportRelation: PlaneViewportRelation;
  solver: PlaneGamutSolver;
  boundaryPaths: PlanePoint[][];
  visibleRegion: PlaneRegion;
}

Properties

kind'gamutRegion'
gamutGamutTarget
Gamut that was analyzed.
scopePlaneGamutRegionScope
Scope the boundary paths were traced in.
viewportRelationPlaneViewportRelation
How the gamut relates to the plane window: 'inside' (the whole window is in gamut), 'outside' (none of it is) or 'intersects'.
solverPlaneGamutSolver
Solver that produced the geometry.
boundaryPathsPlanePoint[][]
Gamut edge polylines in normalized plane coordinates.
visibleRegionPlaneRegion
In-gamut part of the plane window, as closed outlines.

Also exported from