C# Class ImageMagick.ColorYUV

Class that represents a YUV color.
Inheritance: ColorBase
ファイルを表示 Open project: dlemstra/Magick.NET

Public Methods

Method Description
ColorYUV ( double y, double u, double v ) : System

Initializes a new instance of the ColorYUV class.

FromMagickColor ( MagickColor color ) : ColorYUV

Converts the specified MagickColor to an instance of this type.

Protected Methods

Method Description
UpdateValue ( ) : void

Updates the color value in an inherited class.

Private Methods

Method Description
ColorYUV ( MagickColor color ) : System

Method Details

ColorYUV() public method

Initializes a new instance of the ColorYUV class.
public ColorYUV ( double y, double u, double v ) : System
y double Y component value of this color.
u double U component value of this color.
v double V component value of this color.
return System

FromMagickColor() public static method

Converts the specified MagickColor to an instance of this type.
public static FromMagickColor ( MagickColor color ) : ColorYUV
color MagickColor The color to use.
return ColorYUV

UpdateValue() protected method

Updates the color value in an inherited class.
protected UpdateValue ( ) : void
return void