downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

PDF_shading_pattern> <PDF_setrgbcolor_stroke
[edit] Last updated: Fri, 17 May 2013

view this page in

PDF_setrgbcolor

(PHP 4, PECL pdflib >= 1.0.0)

PDF_setrgbcolorSet fill and stroke rgb color values [deprecated]

Description

bool PDF_setrgbcolor ( resource $p , float $red , float $green , float $blue )

Sets the current fill and stroke color to the supplied RGB values. Returns TRUE on success or FALSE on failure.

This function is deprecated since PDFlib version 4, use PDF_setcolor() instead.



add a note add a note User Contributed Notes PDF_setrgbcolor - [2 notes]