class HexaPDF::Content::ColorSpace::DeviceCMYK::Color
See: PDF2.0 s8.6.4.4
A color in the DeviceCMYK color space.
def color_space
def color_space DeviceCMYK::DEFAULT end
def components
def components [@c, @m, @y, @k] end
def initialize(c, m, y, k)
components.
Initializes the color with the +c+ (cyan), +m+ (magenta), +y+ (yellow) and +k+ (black)
def initialize(c, m, y, k) @c = c @m = m @y = y @k = k end