Method: Color::CMYK#pdf_fill

Defined in:
lib/color/cmyk.rb

#pdf_fillObject

Present the colour as a DeviceCMYK fill colour string for PDF. This will be removed from the default package in color-tools 2.0.

[View source]

46
47
48
# File 'lib/color/cmyk.rb', line 46

def pdf_fill
  PDF_FORMAT_STR % [ @c, @m, @y, @k, "k" ]
end