C# Class ImageMagick.ColorHSL

Class that represents a HSL color.
Inheritance: ColorBase
Afficher le fichier Open project: dlemstra/Magick.NET

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
UpdateValue ( ) : void

Updates the color value in an inherited class.

Private Methods

Méthode Description
ColorHSL ( MagickColor color ) : System
Initialize ( double red, double green, double blue ) : void

Method Details

ColorHSL() public méthode

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.
Résultat System

FromMagickColor() public static méthode

Converts the specified MagickColor to an instance of this type.
public static FromMagickColor ( MagickColor color ) : ColorHSL
color MagickColor The color to use.
Résultat ColorHSL

UpdateValue() protected méthode

Updates the color value in an inherited class.
protected UpdateValue ( ) : void
Résultat void