toColorData

open override fun toColorData(reference: ReferenceWhite, type: IColorData.ColorType): IColorData?

Provides color data from this measurement for the specified illuminant and observer white point. Result is null if an invalid white point is specified.

Parameters

reference

Selected reference white (defaults to ReferenceWhite.D50_2)

type

Output color type (defaults to ColorType.CIEXYZ)