(PHP 3>= 3.0.6, PHP 4 >= 4.0.0)
Funkce pdf_setgray() function sets the current drawing and filling color to the given gray value.
Viz takΘ pdf_setrgbcolor_stroke(), pdf_setrgbcolor_fill().