Interface IColorData
- Namespace
- NixUniversalSDK
- Assembly
- NixUniversalSDK.dll
Interface describing colorimetry data
public interface IColorData
- Extension Methods
Properties
Mode
Scan mode for this value.
ScanMode Mode { get; }
Property Value
Reference
Reference white point for this color value.
ReferenceWhite Reference { get; }
Property Value
RgbValue
sRGB value for this color.
byte[] RgbValue { get; }
Property Value
- byte[]
Type
Type of color data stored in the Value field.
ColorType Type { get; }
Property Value
Value
Color value (3 coordinates) in the format specified by Type.
double[] Value { get; }
Property Value
- double[]
Methods
CompareTo(IColorData, ColorDifferenceType)
Calculate delta E between this color and another. The colors must share the same reference white point (Reference).
double CompareTo(IColorData other, ColorDifferenceType type = ColorDifferenceType.CIE2000)
Parameters
other
IColorDataAnother IColorData instance
type
ColorDifferenceTypeDelta E equation type (defaults to CIE2000)
Returns
- double
Color difference (delta E) value
ConvertTo(ColorType)
Convert this color value to another ColorType.
IColorData ConvertTo(ColorType type)
Parameters
type
ColorType