pdf_setgray

(PHP3 >= 3.0.6, PHP4 )

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().