PDF Funktionen
PHP Manual

PDF_setcolor

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_setcolorLegt Füll- und Zeichenfarbe fest

Beschreibung

bool PDF_setcolor ( resource $p , string $fstype , string $colorspace , float $c1 , float $c2 , float $c3 , float $c4 )

Legt den aktuellen Farbraum und die aktuelle Farbe fest. Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.


PDF Funktionen
PHP Manual