uTools-Manuals/docs/php/imagefilledrectangle.html
2019-04-08 23:22:26 +08:00

36 lines
2.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>画一矩形并填充</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.imagefilledrectangle" class="refentry">
<div class="refnamediv">
<h1 class="refname">imagefilledrectangle</h1>
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">imagefilledrectangle</span> &mdash; <span class="dc-title">画一矩形并填充</span></p>
</div>
<div class="refsect1 unknown-unknown-seealsq" id="refsect1-function.imagefilledrectangle-unknown-unknown-seealsq">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>imagefilledrectangle</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$x1</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$y1</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$x2</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$y2</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$color</code></span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">
<span class="function"><strong>imagefilledrectangle()</strong></span>
<code class="parameter">image</code> 图像中画一个用
<code class="parameter">color</code> 颜色填充了的矩形,其左上角坐标为
<code class="parameter">x1</code><code class="parameter">y1</code>,右下角坐标为
<code class="parameter">x2</code><code class="parameter">y2</code>。0, 0
是图像的最左上角。
</p>
</div>
</div></div></div></body></html>