YCbCr.Set

Method in YCbCr

Declaration

public void Set(Color color)

Description

Converts a color to the components and sets them as the new values.

Parameters

colorThe color to convert from.

Overload

Declaration

public void Set(Color color, SignalEncoding encoding)

Description

Converts a color to the components using the given encoding and sets them as the new values.

Parameters

colorThe color to convert from.
encodingThe encoding to use.