pdf_setgray

(PHP 3 >= 3.0.6, PHP 4, PECL)

pdf_setgray -- Sets drawing and filling color to gray value

Description

bool pdf_setgray ( resource pdfdoc, float gray )

Set the current fill and stroke color. 若果成功則返回 TRUE,失敗則返回 FALSE

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