ColorPatchDataRec:
TYPE =
RECORD [
box: Imager.Box,
patchMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 100, red: 0, green: 0, blue: 0],
rgbContrastMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 99, red: 0, green: 0, blue: 0],
hsvContrastMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 98, red: 0, green: 0, blue: 0],
hslContrastMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 97, red: 0, green: 0, blue: 0],
yiqContrastMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 96, red: 0, green: 0, blue: 0],
argybContrastMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 95, red: 0, green: 0, blue: 0],
leftInterpolateMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 94, red: 255, green: 255, blue: 255],
rightInterpolateMapEntry: ImagerColorMap.MapEntry ← [mapIndex: 77, red: 255, green: 255, blue: 255],
separate: BOOLEAN ← FALSE,
dither: BOOLEAN ← FALSE, -- dither=TRUE means that half of the color patch is dithered
consistencyCheck: BOOLEAN ← FALSE, -- consistencyCheck=TRUE means that the color space which is being modified is checked for consistency with the computed RGB values
rgbContrast, hsvContrast, hslContrast, yiqContrast, argybContrast: BOOLEAN ← FALSE, -- xxxContrast=TRUE means that the contrasting patch for xxx is visible
interpolationRequest: InterpolationType ← off, -- off: interpolation bar invisible; left: track left side of interpolation bar; right: track right side of interpolation bar; stop: stop tracking color patch
leftInterpolateColor: ImagerColor.RGB ← [1,1,1],
rightInterpolateColor: ImagerColor.RGB ← [1,1,1],
rgb: ImagerColor.RGB ← [0,0,0],
hsv: ImagerColor.HSV ← [0,0,0],
hsl: ImagerColor.HSL ← [0,0,0],
yiq: ImagerColor.YIQ ← [0,0,0],
argybA: REAL ← 0.0,
argybRg: REAL ← 0.0,
argybYb: REAL ← 0.0,
cslC: CNSColor.CSLChroma ← CNSColor.red,
cslS: CNSColor.CSLSaturation ← CNSColor.vivid,
cslL: CNSColor.CSLLightness ← CNSColor.medium
];