IColorData

public interface IColorData

Interface describing colorimetry data

Inheritors

Types

Link copied to clipboard

Enum describing the available color difference (delta E) equations.

Link copied to clipboard
public enum ColorType extends Enum<IColorData.ColorType>

Enum to describe the base color data types available for IColorData objects. Values for each of these types can be freely converted to each other without loss of color data.

Functions

Link copied to clipboard

Calculate delta E between this color and another. The colors must share the same reference white point (reference)

Link copied to clipboard
public abstract IColorData convertTo(IColorData.ColorType type)

Convert this color value to another ColorType.

Link copied to clipboard
Link copied to clipboard
public String getHexCode()
Link copied to clipboard
public abstract ScanMode getMode()

Scan mode for this value (one of ScanMode.M0, ScanMode.M1, or ScanMode.M2).

Link copied to clipboard
public abstract ReferenceWhite getReference()

Reference white point for this color value.

Link copied to clipboard
public abstract IntArray getRgbValue()

sRGB value for this color.

Link copied to clipboard
public abstract IColorData.ColorType getType()

Type of color data stored in the value field.

Link copied to clipboard
public abstract DoubleArray getValue()

Color value (3 coordinates) in the format specified by mode.