Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<PDF_setgray_strokePDF_setlinecap>
Last updated: Tue, 19 Sep 2006

PDF_setgray

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

PDF_setgray -- Set color to gray [deprecated]

Description

bool PDF_setgray ( resource p, float g )

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

This function is deprecated since PDFlib version 4, use PDF_setcolor() instead.




<PDF_setgray_strokePDF_setlinecap>
Last updated: Tue, 19 Sep 2006