Table of Contents

Struct CieXyy

Namespace
SixLabors.ImageSharp.ColorSpaces
Assembly
SixLabors.ImageSharp.dll
public readonly struct CieXyy : IEquatable<CieXyy>
Implements
Inherited Members

Constructors

CieXyy(Vector3)

Initializes a new instance of the CieXyy struct.

public CieXyy(Vector3 vector)

Parameters

vector Vector3

The vector representing the x, y, Y components.

CieXyy(float, float, float)

Initializes a new instance of the CieXyy struct.

public CieXyy(float x, float y, float yl)

Parameters

x float

The x chroma component.

y float

The y chroma component.

yl float

The y luminance component.

Properties

X

Gets the X chrominance component. A value usually ranging between 0 and 1.

public float X { get; }

Property Value

float

Y

Gets the Y chrominance component. A value usually ranging between 0 and 1.

public float Y { get; }

Property Value

float

Yl

Gets the Y luminance component. A value usually ranging between 0 and 1.

public float Yl { get; }

Property Value

float

Methods

Equals(CieXyy)

public bool Equals(CieXyy other)

Parameters

other CieXyy

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(CieXyy, CieXyy)

Compares two CieXyy objects for equality.

public static bool operator ==(CieXyy left, CieXyy right)

Parameters

left CieXyy

The CieXyy on the left side of the operand.

right CieXyy

The CieXyy on the right side of the operand.

Returns

bool

True if the current left is equal to the right parameter; otherwise, false.

operator !=(CieXyy, CieXyy)

Compares two CieXyy objects for inequality.

public static bool operator !=(CieXyy left, CieXyy right)

Parameters

left CieXyy

The CieXyy on the left side of the operand.

right CieXyy

The CieXyy on the right side of the operand.

Returns

bool

True if the current left is unequal to the right parameter; otherwise, false.