uTools-Manuals/docs/php/imagerectangle.html
2019-04-28 19:00:34 +08:00

35 lines
1.9 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.imagerectangle" class="refentry">
<div class="refnamediv">
<h1 class="refname">imagerectangle</h1>
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">imagerectangle</span> &mdash; <span class="dc-title">画一个矩形</span></p>
</div>
<div class="refsect1 unknown-seealsp" id="refsect1-function.imagerectangle-unknown-seealsp">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>imagerectangle</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">$col</code></span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">
<span class="function"><strong>imagerectangle()</strong></span>
<code class="parameter">col</code> 颜色在
<code class="parameter">image</code> 图像中画一个矩形,其左上角坐标为
x1, y1右下角坐标为 x2, y2。图像的左上角坐标为
0, 0。
</p>
</div>
</div></div></div></body></html>