Home > PHP > Function > PDF > PDF_setgray_stroke()

PDF_setgray_stroke()

PDF_setgray_stroke - Set stroke color to gray [deprecated]

Syntax

bool PDF_setgray_stroke (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 stroke 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