Struct CieXyy
Represents an CIE xyY 1931 color https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.ColorSpaces
Assembly: SixLabors.ImageSharp.dll
Syntax
public readonly struct CieXyy : IEquatable<CieXyy>Constructors
| Improve this Doc View SourceCieXyy(Vector3)
Initializes a new instance of the CieXyy struct.
Declaration
public CieXyy(Vector3 vector)Parameters
| Type | Name | Description | 
|---|---|---|
| Vector3 | vector | The vector representing the x, y, Y components. | 
CieXyy(Single, Single, Single)
Initializes a new instance of the CieXyy struct.
Declaration
public CieXyy(float x, float y, float yl)Parameters
| Type | Name | Description | 
|---|---|---|
| Single | x | The x chroma component. | 
| Single | y | The y chroma component. | 
| Single | yl | The y luminance component. | 
Fields
| Improve this Doc View SourceX
Gets the X chrominance component.
Declaration
public readonly float XField Value
| Type | Description | 
|---|---|
| Single | 
Y
Gets the Y chrominance component.
Declaration
public readonly float YField Value
| Type | Description | 
|---|---|
| Single | 
Yl
Gets the Y luminance component.
Declaration
public readonly float YlField Value
| Type | Description | 
|---|---|
| Single | 
Methods
| Improve this Doc View SourceEquals(CieXyy)
Declaration
public readonly bool Equals(CieXyy other)Parameters
| Type | Name | Description | 
|---|---|---|
| CieXyy | other | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
Equals(Object)
Declaration
public override readonly bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| Object | obj | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override readonly int GetHashCode()Returns
| Type | Description | 
|---|---|
| Int32 | 
Overrides
| Improve this Doc View SourceToString()
Declaration
public override readonly string ToString()Returns
| Type | Description | 
|---|---|
| String | 
Overrides
Operators
| Improve this Doc View SourceEquality(CieXyy, CieXyy)
Compares two CieXyy objects for equality.
Declaration
public static bool operator ==(CieXyy left, CieXyy right)Parameters
| Type | Name | Description | 
|---|---|---|
| CieXyy | left | The CieXyy on the left side of the operand. | 
| CieXyy | right | The CieXyy on the right side of the operand. | 
Returns
| Type | Description | 
|---|---|
| Boolean | True if the current left is equal to the  | 
Inequality(CieXyy, CieXyy)
Compares two CieXyy objects for inequality.
Declaration
public static bool operator !=(CieXyy left, CieXyy right)Parameters
| Type | Name | Description | 
|---|---|---|
| CieXyy | left | The CieXyy on the left side of the operand. | 
| CieXyy | right | The CieXyy on the right side of the operand. | 
Returns
| Type | Description | 
|---|---|
| Boolean | True if the current left is unequal to the  |