C# Class ImageMagick.ColorGray

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

Méthodes publiques

Méthode Description
ColorGray ( double shade ) : System

Initializes a new instance of the ColorGray class.

FromMagickColor ( MagickColor color ) : ColorGray

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
ColorGray ( MagickColor color ) : System

Method Details

ColorGray() public méthode

Initializes a new instance of the ColorGray class.
public ColorGray ( double shade ) : System
shade double Value between 0.0 - 1.0.
Résultat System

FromMagickColor() public static méthode

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

UpdateValue() protected méthode

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