PDF
PHP Manual

PDF_setrgbcolor

(PHP 4, PECL pdflib:1.0-2.1.3)

PDF_setrgbcolor — Set fill and stroke rgb color values [deprecated]

说明

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

Sets the current fill and stroke color to the supplied RGB values. 如果成功则返回 TRUE,失败则返回 FALSE

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


PDF
PHP Manual