C# Class ImageMagick.ColorMono

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

Public Methods

Method 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.

Protected Methods

Method Description
UpdateValue ( ) : void

Updates the color value in an inherited class.

Private Methods

Method Description
ColorMono ( MagickColor color ) : System

Method Details

ColorMono() public method

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

FromMagickColor() public static method

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

UpdateValue() protected method

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