Forum und email

PDF_setrgbcolor

(PHP 4, PECL pdflib:1.0-2.1.3)

PDF_setrgbcolor — Sets drawing and filling color to rgb color value

Description

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

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

See also PDF_setrgbcolor_stroke(), PDF_setrgbcolor_fill().