Name
annot:SetCMYKColor -- set CMYK color
Synopsis
status = annot:SetCMYKColor(cmyk)
Function
This method is currently undocumented in libHaru. Complain to the libHaru authors.

The cmyk parameter must be 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 values must be between 0 and 1.

Returns #HPDF_OK on success. Otherwise, returns an error code and the error handler is invoked.

Inputs
cmyk
CMYK color
Results
status
status code

Show TOC