PDF_setgray_fill

(PHP 3>= 3.0.6, PHP 4 )

PDF_setgray_fill -- Sets filling color to gray value

Description

void PDF_setgray_fill (int pdf object, double gray)

Set the current fill color to a gray value between 0 and 1 inclusive.

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