Home > PHP > Function > PDF > PDF_setgray_fill()

PDF_setgray_fill()

PDF_setgray_fill - Set fill color to gray [deprecated]

Syntax

bool PDF_setgray_fill (resource $p, float $g)

Arguments

  • p - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • g - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Sets the current fill color to a gray value between 0 and 1 inclusive. Returns TRUE on success or FALSE on failure.

Version

PHP 4, PECL pdflib >= 1.0.0

Return value