PlaneGamutRegionResult
Result of getPlaneGamutRegion.
import type { PlaneGamutRegionResult } from '@pbroom/color-kit/plane';types.ts:463interface PlaneGamutRegionResult {
kind: 'gamutRegion';
gamut: GamutTarget;
scope: PlaneGamutRegionScope;
viewportRelation: PlaneViewportRelation;
solver: PlaneGamutSolver;
boundaryPaths: PlanePoint[][];
visibleRegion: PlaneRegion;
}Properties
- kind
'gamutRegion' - gamut
GamutTarget - Gamut that was analyzed.
- scope
PlaneGamutRegionScope - Scope the boundary paths were traced in.
- viewportRelation
PlaneViewportRelation - How the gamut relates to the plane window:
'inside'(the whole window is in gamut),'outside'(none of it is) or'intersects'. - solver
PlaneGamutSolver - Solver that produced the geometry.
- boundaryPaths
PlanePoint[][] - Gamut edge polylines in normalized plane coordinates.
- visibleRegion
PlaneRegion - In-gamut part of the plane window, as closed outlines.
Also exported from
@pbroom/color-kitthe same declaration, re-exported