(PHP3 >= 3.0.6, PHP4 )
void pdf_setgray (int pdf document, double gray value)
void pdf_setgray
The PDF_setgray() function sets the current drawing and filling color to the given gray value.
See also PDF_setrgbcolor_stroke(), PDF_setrgbcolor_fill().