mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-07-06 09:02:49 +08:00
41 lines
2.3 KiB
HTML
41 lines
2.3 KiB
HTML
<!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.imagesettile" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">imagesettile</h1>
|
||
<p class="verinfo">(PHP 4 >= 4.0.6, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">imagesettile</span> — <span class="dc-title">设定用于填充的贴图</span></p>
|
||
|
||
</div>
|
||
<div class="refsect1 unknown-notet" id="refsect1-function.imagesettile-unknown-notet">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>imagesettile</strong></span>
|
||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>
|
||
, <span class="methodparam"><span class="type">resource</span> <code class="parameter">$tile</code></span>
|
||
) : <span class="type">bool</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
<span class="function"><strong>imagesettile()</strong></span> 设定所有区域填充函数(例如
|
||
<span class="function"><a href="imagefill.html" class="function">imagefill()</a></span>
|
||
和 <span class="function"><a href="imagefilledpolygon.html" class="function">imagefilledpolygon()</a></span>)在使用特殊颜色
|
||
<em>IMG_COLOR_TILED</em> 填充时所使用的贴图。
|
||
</p>
|
||
<p class="para">
|
||
贴图是指用重复的样式来填充一块区域所使用的图像。<em class="emphasis">任何</em>
|
||
GD 图像都能用作贴图,并且通过使用 <span class="function"><a href="imagecolortransparent.html" class="function">imagecolortransparent()</a></span>
|
||
来设定贴图的透明色,贴图可以使底层的特定区域透上来。
|
||
</p>
|
||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||
<p class="para">
|
||
使用完贴图后不需要采取什么特殊动作。但如果销毁了贴图,在设定一个新的贴图之前不能使用
|
||
<em>IMG_COLOR_TILED</em>!
|
||
</p>
|
||
</p></blockquote>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |