C# Class ImageMagick.ColorHSL

Class that represents a HSL color.
Inheritance: ColorBase
Show file Open project: dlemstra/Magick.NET

Public Methods

Method Description
ColorHSL ( double hue, double saturation, double lightness ) : System

Initializes a new instance of the ColorHSL class.

FromMagickColor ( MagickColor color ) : ColorHSL

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
ColorHSL ( MagickColor color ) : System
Initialize ( double red, double green, double blue ) : void

Method Details

ColorHSL() public method

Initializes a new instance of the ColorHSL class.
public ColorHSL ( double hue, double saturation, double lightness ) : System
hue double Hue component value of this color.
saturation double Saturation component value of this color.
lightness double Lightness 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 ) : ColorHSL
color MagickColor The color to use.
return ColorHSL

UpdateValue() protected method

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