pdf_setrgbcolor
(PHP 3 >= 3.0.6, PHP 4, PECL)
pdf_setrgbcolor -- Sets drawing and filling color to rgb color value
Description
bool
pdf_setrgbcolor ( resource pdfdoc, float red_value, float green_value, float blue_value )
Set the current fill and stroke color to the supplied RGB values.
如果成功则返回 TRUE,失败则返回 FALSE。