pdf_setgray

(PHP 3>= 3.0.6, PHP 4 >= 4.0b1)

pdf_setgray -- Sets drawing and filling color to gray value

Description

void pdf_setgray (int pdf object, double gray)

Set the current fill and stroke color.

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