@pbroom/color-kit/driverColor area
ColorAreaFallbackPoint
Result of getColorAreaFallbackPoint.
import type { ColorAreaFallbackPoint } from '@pbroom/color-kit/driver';color-area.ts:180interface ColorAreaFallbackPoint {
x: number;
y: number;
color: Color;
gamut: GamutTarget;
}Properties
- x
number - Normalized x position of the mapped color, 0 = left edge.
- y
number - Normalized y position of the mapped color, 0 = top edge.
- gamut
GamutTarget - Gamut the color was mapped into.
Also exported from
@pbroom/color-kit/reactthe same declaration, re-exported