YUV Constructor
Constructor in YUV
Declaration
public YUV(float Y, float U, float V)
Description
Creates new Y′UV components from the given values.
Parameters
Y | The luma component of the color in the range [0..1]. |
U | The blue-difference chroma component of the color in the range [-0.436..0.436]. |
V | The red-difference chroma component of the color in the range [-0.615..0.615]. |
Overload
Declaration
public YUV(YUV other)
Description
Creates a new copy of the components.
Parameters
other | The other components to copy. |
Overload
Declaration
public YUV(Color color)
Description
Creates new Y′UV components from the given color.
Parameters
color | The color to extract the components from. |
Overload
Declaration
public YUV(Color color, SignalEncoding encoding)
Description
Creates new Y′UV components from the given color and encoding.
Parameters
color | The color to extract the components from. |
encoding | The encoding to use. |