Name
page:GetCMYKFill -- get CMYK filling color
Synopsis
t = page:GetCMYKFill()
Function
page:GetCMYKFill() returns the current value of the page's filling color. page:GetCMYKFill() is valid only when the page's filling color space is #HPDF_CS_DEVICE_CMYK.

This function returns a table with the following fields initialized:

C
Cyan level of color.
Y
Yellow level of color.
M
Magenta level of color.
K
Black level of color.

All fields contain values between 0 and 1.

Inputs
none

Results
t
current CMYK filling color

Show TOC