CIEXYZ

Implements IComponentModel<T>, IComponentModel, IEquatable<T>


Declaration

[Serializable]
public struct CIEXYZ : IComponentModel<CIEXYZ>, IComponentModel

Description

The CIE XYZ components of a color - chromaticity (X,Z) and luminance (Y).

Properties

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].
Item[int]Gets or sets the component at the specified index.

Constructors

CIEXYZCreates new CIE XYZ components from the given values.

Methods

CopyReturns a copy of the components.
SetConverts a color to the components and sets them as the new values.
MixReturns the result of mixing the color with another color using a weight between [0..1]. A weight of 0 results in the first color, and a weight of 1 results in the second color.
EqualsDetermines if the components are equal to another.
GetHashCodeReturns the hash code of the components.
ToStringConverts the components to a string.
ToColorConverts the components to a color.
ToHunterLabConverts the components to HunterLab components.
ToLabConverts the components to CIELAB components.
ToLuvConverts the components to CIELUV components.
ToUCSConverts the components to CIEUCS components.
ToUVWConverts the components to CIEUVW components.
ToxyYConverts the components to CIExyY components.

Operators

Equality
Inequality
Explicit
Implicit