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
[edit] Last updated: Fri, 25 May 2012

view this page in

PDF_setgray

(PHP 4, PECL pdflib >= 1.0.0)

PDF_setgray色をグレーに設定する [古い関数]

説明

bool PDF_setgray ( resource $p , float $g )

現在の塗りつぶしおよび輪郭描画色を 0 から 1 までのグレー値に設定します。 成功した場合に TRUE を、失敗した場合に FALSE を返します。

この関数は PDFlib バージョン 4 で廃止されました。かわりに PDF_setcolor() を使用してください。



add a note add a note User Contributed Notes PDF_setgray
leea at digitus dot com dot au 29-Jan-2001 12: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