C# Class ImageMagick.ColorMono

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

Méthodes publiques

Méthode Description
ColorMono ( bool isBlack ) : System

Initializes a new instance of the ColorMono class.

FromMagickColor ( MagickColor color ) : ColorMono

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

Method Details

ColorMono() public méthode

Initializes a new instance of the ColorMono class.
public ColorMono ( bool isBlack ) : System
isBlack bool Specifies if the color is black or white.
Résultat System

FromMagickColor() public static méthode

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

UpdateValue() protected méthode

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