cpdf_setrgbcolor

(PHP3 >= 3.0.8, PHP4 >= 4.0b4)

cpdf_setrgbcolor -- Sets drawing and filling color to rgb color value

Description

void cpdf_setrgbcolor (int pdf document, double red value, double green value, double blue value)

The cpdf_setrgbcolor_stroke() function sets the current drawing and filling color to the given rgb color value.

See also cpdf_setrgbcolor_stroke(), cpdf_setrgbcolor_fill().