CIEXYZ Constructor

Constructor in CIEXYZ

Declaration

public CIEXYZ(float X, float Y, float Z)

Description

Creates new CIE XYZ components from the given values.

Parameters

XA mix of cone response curves chosen to be orthogonal to luminance and non-negative in the range [0..95.047].
YThe luminance component of the color in the range [0..100].
ZSomewhat equal to blue, or the "S" cone response in the range [0..108.883].

Overload

Declaration

public CIEXYZ(CIEXYZ other)

Description

Creates a new copy of the components.

Parameters

otherThe other components to copy.

Overload

Declaration

public CIEXYZ(Tristimulus tristimulus)

Description

Creates new CIE XYZ components from the given tristimulus values.

Parameters

tristimulusThe XYZ tristimulus values.

Overload

Declaration

public CIEXYZ(Color color)

Description

Creates new CIE XYZ components from the given color.

Parameters

colorThe color to extract the components from.