compareTo

open override fun compareTo(other: IColorData, type: IColorData.ColorDifferenceType): Double

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

Return

delta E value

Parameters

other

Another IColorData instance

type

Delta E equation type (defaults to CIE2000)