downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDF_setlinecap> <PDF_setgray_stroke
Last updated: Fri, 20 May 2011

view this page in

PDF_setgray

(PHP 4, PECL pdflib >= 1.0.0)

PDF_setgrayEstablecer el color a gris [obsoleta]

Descripción

bool PDF_setgray ( resource $p , float $g )

Establece el color de relleno y contorno actual a un valor de gris entre 0 y 1 inclusive. Devuelve TRUE en caso de éxito o FALSE en caso de error.

Esta función está obsoleta desde la versión 4 de PDFlib, use PDF_setcolor() en su lugar.



add a note add a note User Contributed Notes PDF_setgray
leea at digitus dot com dot au 30-Jan-2001 03:37
pdf_setgray double values start at 0 for black and end at 1 for white so for any shade of gray simply pick a value inbetween these 2 numbers

 
show source | credits | stats | sitemap | contact | advertising | mirror sites