PHP Manual
Prev |  | Next

# cpdf_setrgbcolor

(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

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

## Description

``void cpdf_setrgbcolor` (int pdf document, float red value, float green value, float 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().

Prev | Home | Next
cpdf_setmiterlimit | Up | cpdf_setrgbcolor_fill