class HexaPDF:: Content:: ColorSpace:: DeviceCMYK:: Color
Parent | Object |
---|---|
Included Modules |
HexaPDF::Content::ColorSpace::ColorUtils |
A color in the DeviceCMYK
color space.
See: PDF2.0 s8.6.4.4
Public Class Methods
Initializes the color with the c
(cyan), m
(magenta), y
(yellow) and k
(black) components.
Each argument has to be a float between 0.0 and 1.0.
Public Instance Methods
Returns the DeviceCMYK
color space module.
Returns the CMYK color as an array of normalized color values.