pdf_setgray

(3.0.6 - 3.0.18 only, PHP 4 >= 4.0.0)

pdf_setgray -- Sets drawing and filling color to gray value

Description

void pdf_setgray (int pdf object, float gray)

Set the current fill and stroke color.

Note: PDFlib V4.0: Deprecated, use pdf_setcolor() instead.