Struct ColorYUV

Struct ColorYUV

Namespace: Aspose.Imaging.MagicWand
Assembly: Aspose.Imaging.dll (25.2.0)

Represents an YUV color.

public struct ColorYUV

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

ColorYUV(int, int, int)

Initializes a new instance of the Aspose.Imaging.MagicWand.ColorYUV structure with the specified luminance component, blue and red projection components.

public ColorYUV(int Y, int U, int V)

Parameters

Y int

The luminance component value.

U int

The blue projection component value.

V int

The red projection component value.

ColorYUV(Color)

Initializes a new instance of the Aspose.Imaging.MagicWand.ColorYUV structure from the specified existing Aspose.Imaging.Color.

public ColorYUV(Color color)

Parameters

color Color

The Color from which to create the new Aspose.Imaging.MagicWand.ColorYUV.

Properties

U

Gets the blue projection component value of this Aspose.Imaging.MagicWand.ColorYUV structure.

public double U { get; }

Property Value

double

V

Gets the red projection component value of this Aspose.Imaging.MagicWand.ColorYUV structure.

public double V { get; }

Property Value

double

Y

Gets the luminance component value of this Aspose.Imaging.MagicWand.ColorYUV structure.

public double Y { get; }

Property Value

double

Methods

ToString()

Converts this Aspose.Imaging.MagicWand.ColorYUV structure to a human-readable string.

public override string ToString()

Returns

string

Converts this Aspose.Imaging.MagicWand.ColorYUV structure to a human-readable string.