C# Класс ImageMagick.ColorCMYK

Class that represents a CMYK color.
Наследование: ColorBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ColorCMYK System
ColorCMYK System
ColorCMYK System
CreateColor MagickColor

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ColorCMYK() публичный метод

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.
Результат System

ColorCMYK() публичный метод

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.
Результат System

ColorCMYK() публичный метод

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
Результат System

FromMagickColor() публичный статический метод

Converts the specified MagickColor to an instance of this type.
public static FromMagickColor ( MagickColor color ) : ColorCMYK
color MagickColor The color to use.
Результат ColorCMYK