@pbroom/color-kit/reactPlane geometry
ColorPlaneLineGeometry
Geometry returned by useGamutBoundary and useChromaBand.
import type { ColorPlaneLineGeometry } from '@pbroom/color-kit/react';use-gamut-boundary.ts:27interface ColorPlaneLineGeometry {
points: ColorAreaGamutBoundaryPoint[];
path: string;
quality: ColorPlaneQualityLevel;
}Properties
- points
ColorAreaGamutBoundaryPoint[] - Line vertices from
l = 0tol = 1; empty off anl/cplane. - path
string - SVG path data for
pointsin a0 0 100 100viewBox (''for fewer than two points). Draw it in an<svg viewBox="0 0 100 100" preserveAspectRatio="none">laid over the plane. - quality
ColorPlaneQualityLevel - Quality level the line was sampled at.