This commit is contained in:
fofolee
2019-04-08 23:22:26 +08:00
commit 7ca94f1141
5960 changed files with 530244 additions and 0 deletions

31
docs/php/pdf_setgray.html Normal file
View File

@@ -0,0 +1,31 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Set color to gray [deprecated]</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.pdf-setgray" class="refentry">
<div class="refnamediv">
<h1 class="refname">PDF_setgray</h1>
<p class="verinfo">(PHP 4, PECL pdflib &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">PDF_setgray</span> &mdash; <span class="dc-title">Set color to gray [deprecated]</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.pdf-setgray-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>PDF_setgray</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$p</code></span>
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$g</code></span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">
Sets the current fill and stroke color to a gray value between 0 and 1 inclusive. 成功时返回 <strong><code>TRUE</code></strong> 或者在失败时返回 <strong><code>FALSE</code></strong>
</p>
<p class="para">
This function is deprecated since PDFlib version 4, use
<span class="function"><a href="pdf_setcolor.html" class="function">PDF_setcolor()</a></span> instead.
</p>
</div>
</div></div></div></body></html>