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

search for in the

PDF_setlinecap> <PDF_setgray_stroke
[edit] Last updated: Fri, 07 Jun 2013

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 - [1 notes]
up
0
leea at digitus dot com dot au
12 years ago
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