PDF_setrgbcolor()
PDF_setrgbcolor - Set fill and stroke rgb color values [deprecated]
Syntax
bool PDF_setrgbcolor (
resource $p,
float $red,
float $green,
float $blue)
Arguments
- p - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- red - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- green - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- blue - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
Description
Sets the current fill and stroke color to the supplied RGB values. Returns TRUE on success or FALSE on failure.
Version
PHP 4, PECL pdflib >= 1.0.0
Return value