function.imagick-mattefloodfillimage.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 179 行

HTML
179
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Changes the transparency value of a color</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.imagick-mapimage.html">Imagick::mapImage</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imagick-medianfilterimage.html">Imagick::medianFilterImage</a></div> <div class="up"><a href="class.imagick.html">The Imagick class</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.imagick-mattefloodfillimage" class="refentry"> <div class="refnamediv">  <h1 class="refname">Imagick::matteFloodfillImage</h1>  <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">Imagick::matteFloodfillImage</span> &mdash; <span class="dc-title">Changes the transparency value of a color</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">bool</span> <span class="methodname"><b><b>Imagick::matteFloodfillImage</b></b></span>    ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$alpha</tt></span>   , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$fuzz</tt></span>   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <tt class="parameter">$bordercolor</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$x</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$y</tt></span>   )</div>  <div class="warning"><b class="warning">Warning</b><p class="simpara">This function iscurrently not documented; only its argument list is available.</p></div>  <p class="para">   Changes the transparency value of any pixel that matches   target and is an immediate neighbor.  If the method   FillToBorderMethod is specified, the transparency value   is changed for any neighbor pixel that does not match   the bordercolor member of image.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">alpha</tt></i></span>     <dd>      <p class="para">       The level of transparency: 1.0 is fully opaque and 0.0 is fully       transparent.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">fuzz</tt></i></span>     <dd>      <p class="para">       The fuzz member of image defines how much tolerance is acceptable to       consider two colors as the same.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">bordercolor</tt></i></span>     <dd>      <p class="para">      An ImagickPixel object or string representing the border color.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">x</tt></i></span>     <dd>      <p class="para">      The starting x coordinate of the operation.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">y</tt></i></span>     <dd>      <p class="para">      The starting y coordinate of the operation.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns <b><tt>TRUE</tt></b> on success.  </p> </div> <div class="refsect1 errors">  <h3 class="title">Errors/Exceptions</h3>  <p class="para">   Throws ImagickException on error.  </p> </div> <div class="refsect1 changelog">  <h3 class="title">ChangeLog</h3>  <p class="para">   <table class="informaltable">    <colgroup>     <thead valign="middle">      <tr valign="middle">       <th colspan="1">Version</th>       <th colspan="1">Description</th>      </tr>     </thead>     <tbody valign="middle" class="tbody">      <tr valign="middle">       <td colspan="1" rowspan="1" align="left">2.1.0</td>       <td colspan="1" rowspan="1" align="left">        Now allows a string representing the color as the third parameter.        Previous versions allow only an ImagickPixel object.       </td>      </tr>     </tbody>    </colgroup>   </table>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.imagick-mapimage.html">Imagick::mapImage</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imagick-medianfilterimage.html">Imagick::medianFilterImage</a></div> <div class="up"><a href="class.imagick.html">The Imagick class</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?