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 Class

This class represents color value in CMYK color space.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Class CmykColor _
	Inherits Color
C#
public class CmykColor : Color

Remarks

To get access to cyan, magenta, yellow, and black component use C, M, Y, and K properties accordingly. Alpha channel is available through A property. Also there are extended versions of these properties (that returns 16-bit version of the component). These properties have a suffix 32 (e.g. C32, etc).

Also you can get components by index using GetChannel(Int32) method.

This class implements cast operator for other color types as well as for System.Drawing.Color. Note, when you convert colors, no color management is applied. To convert colors with color management, use ConvertColor(Color, ColorProfile) method of PixelFormatConverter class.

Inheritance Hierarchy

System.Object
L Aurigma.GraphicsMill.Color
L Aurigma.GraphicsMill.CmykColor

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also

Reference