YIQ Constructor

Constructor in YIQ

Declaration

public YIQ(float Y, float I, float Q)

Description

Creates new Y′IQ components from the given values.

Parameters

YThe luma component of the color in the range [0..1].
IThe orange-blue chroma component of the color in the range [-0.596..0.596].
QThe purple-green chroma component of the color in the range [-0.523..0.523].

Overload

Declaration

public YIQ(YIQ other)

Description

Creates a new copy of the components.

Parameters

otherThe other components to copy.

Overload

Declaration

public YIQ(Color color)

Description

Creates new Y′IQ components from the given color.

Parameters

colorThe color to extract the components from.

Overload

Declaration

public YIQ(Color color, SignalEncoding encoding)

Description

Creates new Y′IQ components from the given color and encoding.

Parameters

colorThe color to extract the components from.
encodingThe encoding to use.