Forum und email

PDF_setgray

(PHP 4, PECL pdflib:1.0-2.1.3)

PDF_setgray — Sets drawing and filling color to gray value

Description

void pdf_setgray ( int $pdf document , double $gray value )

The PDF_setgray() function sets the current drawing and filling color to the given gray value.

See also PDF_setrgbcolor_stroke(), PDF_setrgbcolor_fill().