YCbCr Constructor
Constructor in YCbCr
Declaration
public YCbCr(float Y, float Cb, float Cr)
Description
Creates new Y′CbCr components from the given values.
Parameters
Y | The luma component of the color in the full range [0..255]. |
Cb | The blue-difference chroma component of the color in the full range [0..255]. |
Cr | The red-difference chroma component of the color in the full range [0..255]. |
Overload
Declaration
public YCbCr(YCbCr other)
Description
Creates a new copy of the components.
Parameters
other | The other components to copy. |
Overload
Declaration
public YCbCr(Color color)
Description
Creates new Y′CbCr components from the given color.
Parameters
color | The color to extract the components from. |
Overload
Declaration
public YCbCr(Color color, SignalEncoding encoding)
Description
Creates new Y′CbCr components from the given color and encoding.
Parameters
color | The color to extract the components from. |
encoding | The encoding to use. |