public class ColorYUV extends com.aspose.ms.lang.Struct<ColorYUV>
Represents an YUV color.
| Constructor and Description |
|---|
ColorYUV() |
ColorYUV(Color color)
|
ColorYUV(int Y,
int U,
int V)
Initializes a new instance of the
ColorYUV structure with the specified luminance component, blue and red projection components. |
| Modifier and Type | Method and Description |
|---|---|
ColorYUV |
Clone() |
void |
CloneTo(ColorYUV that) |
boolean |
equals(Object obj) |
double |
getU()
Gets the blue projection component value of this
ColorYUV structure. |
double |
getV()
Gets the red projection component value of this
ColorYUV structure. |
double |
getY()
Gets the luminance component value of this
ColorYUV structure. |
int |
hashCode() |
String |
toString()
Converts this
ColorYUV structure to a human-readable string. |
public ColorYUV()
public ColorYUV(int Y,
int U,
int V)
Initializes a new instance of the ColorYUV structure with the specified luminance component, blue and red projection components.
Y - The luminance component value.U - The blue projection component value.V - The red projection component value.public final double getY()
Gets the luminance component value of this ColorYUV structure.
ColorYUV structure.public final double getU()
Gets the blue projection component value of this ColorYUV structure.
ColorYUV structure.public final double getV()
Gets the red projection component value of this ColorYUV structure.
ColorYUV structure.public void CloneTo(ColorYUV that)
CloneTo in class com.aspose.ms.System.ValueType<ColorYUV>Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.