PDF_setcolor

(PHP 4 >= 4.0.5)

PDF_setcolor -- Sets fill and stroke color to CMYK values

Description

void PDF_setcolor (int pdf object, string type, string colorspace, double c1, double c2, double c3, double c4)

Set the current color space and color. type is "fill", "stroke", or "both".