C# Class ImageMagick.MagickColor

Class that represents a color.
Mostra file Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

Method Description
MagickColor ( Color color ) : System.Drawing

Initializes a new instance of the MagickColor class.

ToColor ( ) : Color

Converts the value of this instance to an equivalent Color.

Private Methods

Method Description
CreateInstance ( MagickColor instance ) : INativeInstance
CreateInstance ( IntPtr instance ) : MagickColor

Method Details

MagickColor() public method

Initializes a new instance of the MagickColor class.
public MagickColor ( Color color ) : System.Drawing
color System.Drawing.Color The color to use.
return System.Drawing

ToColor() public method

Converts the value of this instance to an equivalent Color.
public ToColor ( ) : Color
return System.Drawing.Color