Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

CmykColor Members

The CmykColor type exposes the following members.

Constructors

Name Description
Public method CmykColor

Creates empty CmykColor instance. All channels are initialized with zeros, therefore this color will be represent absolutely white and transparent CMYK value.

Methods

Name Description
Public method Clone

Creates a full copy of this CmykColor object.

Public method ConvertColorSpace

Converts color value to another color space.

(Inherited from Color.)
Public method Equals

Compares this CmykColor with specified object.

(Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetChannel Overloaded.

Gets value stored in specified channel of this color.

Public method GetChannel32 Overloaded.

Gets extended (16-bit) value stored in specified channel of this color.

Public method GetHashCode

Returns a hash code for this CmykColor class.

(Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToArray

Returns a byte array that contains all channels of the color (8 bits per channel).

(Inherited from Color.)
Public method ToArray32

Returns an integer numbers array that contains all channels of the color (16 bits per channel).

(Inherited from Color.)
Public method ToGdiplusColor

Returns System.Drawing.Color containing the same color value as this CmykColor does.

(Overrides Color.ToGdiplusColor().)
Public method ToInt32

Returns non-extended (8 bit per channel) numeric representation of this CmykColor.

(Overrides Color.ToInt32().)
Public method ToInt64

Returns extended (16 bit per channel) numeric representation of this CmykColor.

(Overrides Color.ToInt64().)
Public method ToString

Converts the value of this instance to its equivalent string representation.

(Overrides Object.ToString().)

Operators

Name Description
Public operator Static member Implicit Overloaded.

Casts CMYK color data format.

Properties

Name Description
Public property A

Returns 8-bit alpha channel value (color opacity).

(Overrides Color.A.)
Public property A32

Returns 16-bit (extended) alpha channel value (color opacity).

(Overrides Color.A32.)
Public property C

Returns 8-bit cyan channel value.

Public property C32

Returns 16-bit cyan channel value.

Public property ChannelCount

Returns number of channels available in this color.

(Overrides Color.ChannelCount.)
Public property ColorSpace

Returns a color space of the color.

(Overrides Color.ColorSpace.)
Public property K

Returns 8-bit black channel value.

Public property K32

Returns 16-bit black channel value.

Public property M

Returns 8-bit magenta channel value.

Public property M32

Returns 16-bit magenta channel value.

Public property Y

Returns 8-bit yellow channel value.

Public property Y32

Returns 16-bit yellow channel value.

See Also

Reference