cpdf_setrgbcolor
(PHP 4, PHP 5 <= 5.0.5)
cpdf_setrgbcolor — Imposta il valore del colore rgb come colore per il disegno e il riempimento
Descrizione
bool cpdf_setrgbcolor
( int $documento_pdf
, float $valore_rosso
, float $valore_verde
, float $valore_blu
)
La funzione cpdf_setrgbcolor() imposta il colore corrente per il disegno e il riempimento al valore del colore rgb dato. Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
Nota: The values are expected to be floating point values between 0.0 and 1.0. (i.e black is (0.0, 0.0, 0.0) and white is (1.0, 1.0, 1.0)).
Vedere anche: cpdf_setrgbcolor_stroke() e cpdf_setrgbcolor_fill().