ColorYUV Class

Summary: Represents an YUV color.

Module: aspose.imaging.magicwand

Full Name: aspose.imaging.magicwand.ColorYUV

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
ColorYUV()Initializes a new instance of the ColorYUV class
ColorYUV(color)Initializes a new instance of the ColorYUV structure from the specified existing Color.
ColorYUV(y, u, v)Initializes a new instance of the ColorYUV structure with the specified luminance component, blue and red projection components.

Properties

NameTypeAccessDescription
udoublerGets the blue projection component value of this ColorYUV structure.
vdoublerGets the red projection component value of this ColorYUV structure.
ydoublerGets the luminance component value of this ColorYUV structure.

Constructor: ColorYUV()

 ColorYUV() 

Initializes a new instance of the ColorYUV class

Constructor: ColorYUV(color)

 ColorYUV(color) 

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

Parameters:

ParameterTypeDescription
colorColorThe Color from which to create the new ColorYUV.

Constructor: ColorYUV(y, u, v)

 ColorYUV(y, u, v) 

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

Parameters:

ParameterTypeDescription
yintThe luminance component value.
uintThe blue projection component value.
vintThe red projection component value.