PHP Manual
Prev |  | Next

# PDF_setrgbcolor

(PHP 3 >= 3.0.6, PHP 4, PECL)

PDF_setrgbcolor -- Set 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.

Prev | Home | Next
PDF_setrgbcolor_stroke | Up | PDF_shading_pattern