C# Class ImageMagick.ColorCMYK

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

Private Properties

Свойство Type Description
ColorCMYK System
ColorCMYK System
ColorCMYK System
CreateColor MagickColor

Méthodes publiques

Méthode Description
ColorCMYK ( Percentage cyan, Percentage magenta, Percentage yellow, Percentage key ) : System

Initializes a new instance of the ColorCMYK class.

ColorCMYK ( Percentage cyan, Percentage magenta, Percentage yellow, Percentage key, Percentage alpha ) : System

Initializes a new instance of the ColorCMYK class.

ColorCMYK ( string color ) : System

Initializes a new instance of the ColorCMYK class.

FromMagickColor ( MagickColor color ) : ColorCMYK

Converts the specified MagickColor to an instance of this type.

Private Methods

Méthode Description
ColorCMYK ( Byte cyan, Byte magenta, Byte yellow, Byte key ) : System
ColorCMYK ( Byte cyan, Byte magenta, Byte yellow, Byte key, Byte alpha ) : System
ColorCMYK ( MagickColor color ) : System
CreateColor ( string color ) : MagickColor

Method Details

ColorCMYK() public méthode

Initializes a new instance of the ColorCMYK class.
public ColorCMYK ( Percentage cyan, Percentage magenta, Percentage yellow, Percentage key ) : System
cyan Percentage Cyan component value of this color.
magenta Percentage Magenta component value of this color.
yellow Percentage Yellow component value of this color.
key Percentage Key (black) component value of this color.
Résultat System

ColorCMYK() public méthode

Initializes a new instance of the ColorCMYK class.
public ColorCMYK ( Percentage cyan, Percentage magenta, Percentage yellow, Percentage key, Percentage alpha ) : System
cyan Percentage Cyan component value of this color.
magenta Percentage Magenta component value of this color.
yellow Percentage Yellow component value of this color.
key Percentage Key (black) component value of this color.
alpha Percentage Alpha component value of this color.
Résultat System

ColorCMYK() public méthode

Initializes a new instance of the ColorCMYK class.
public ColorCMYK ( string color ) : System
color string The CMYK hex string or name of the color (http://www.imagemagick.org/script/color.php). /// For example: #F000, #FF000000, #FFFF000000000000
Résultat System

FromMagickColor() public static méthode

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