📄 function.imagick-paintfloodfillimage.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Changes the color value of any pixel that matches target</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-optimizeimagelayers.html">Imagick::optimizeImageLayers</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imagick-paintopaqueimage.html">Imagick::paintOpaqueImage</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-paintfloodfillimage" class="refentry"> <div class="refnamediv"> <h1 class="refname">Imagick::colorFloodfillImage</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">Imagick::colorFloodfillImage</span> — <span class="dc-title">Changes the color value of any pixel that matches target</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::paintFloodfillImage</b></b></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">$fill</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 color value of any pixel that matches target and is an immediate neighbor. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">fill</tt></i></span> <dd> <p class="para"> ImagickPixel object or a string containing the fill color </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">fuzz</tt></i></span> <dd> <p class="para"> The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">bordercolor</tt></i></span> <dd> <p class="para"> ImagickPixel object or a string containing the border color </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">x</tt></i></span> <dd> <p class="para"> X start position of the floodfill </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">y</tt></i></span> <dd> <p class="para"> Y start position of the floodfill </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">channel</tt></i></span> <dd> <p class="para"> Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channeltype constants using bitwise operators. Defaults to Imagick::CHANNEL_ALL. Refer to this list of <a href="imagick.constants.html#imagick.constants.channel" class="link">channel constants</a>. </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><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.imagick-optimizeimagelayers.html">Imagick::optimizeImageLayers</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imagick-paintopaqueimage.html">Imagick::paintOpaqueImage</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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -