PHP Manual
Prev |  | Next

# pdf_setgray

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

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. Returns `TRUE` on success or `FALSE` on failure.

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

Prev | Home | Next
pdf_setgray_stroke | Up | pdf_setlinecap