<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.imagick.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'imagick.paintfloodfillimage.php',
    1 => 'Imagick::paintFloodfillImage',
    2 => 'Changes the color value of any pixel that matches target',
  ),
  'up' => 
  array (
    0 => 'class.imagick.php',
    1 => 'Imagick',
  ),
  'prev' => 
  array (
    0 => 'imagick.orderedposterizeimage.php',
    1 => 'Imagick::orderedPosterizeImage',
  ),
  'next' => 
  array (
    0 => 'imagick.paintopaqueimage.php',
    1 => 'Imagick::paintOpaqueImage',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imagick/imagick/paintfloodfillimage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="imagick.paintfloodfillimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::paintFloodfillImage</h1>
  <p class="verinfo">(PECL imagick 2 &gt;= 2.1.0, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::paintFloodfillImage</span> &mdash; <span class="dc-title">Changes the color value of any pixel that matches target</span></p>

 </div>

 <div id="imagick.paintfloodfillimage-refsynopsisdiv">
   <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function has been <em>DEPRECATED</em> as of Imagick 3.4.4. Relying on this function is highly discouraged.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-imagick.paintfloodfillimage-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::paintFloodfillImage</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$fill</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$fuzz</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$bordercolor</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$x</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$y</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$channel</code><span class="initializer"> = Imagick::CHANNEL_DEFAULT</span></span><br>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>


  <p class="para rdfs-comment">
   Changes the color value of any pixel that matches target and is an
   immediate neighbor. As of ImageMagick 6.3.8 this method has been deprecated
   and <span class="function"><a href="imagick.floodfillpaintimage.php" class="function">Imagick::floodfillPaintImage()</a></span> should be used instead.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.paintfloodfillimage-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">fill</code></dt>
     <dd>
      <p class="para">
       ImagickPixel object or a string containing the fill color
      </p>
     </dd>
    
    
     <dt><code class="parameter">fuzz</code></dt>
     <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><code class="parameter">bordercolor</code></dt>
     <dd>
      <p class="para">
       ImagickPixel object or a string containing the border color
      </p>
     </dd>
    
    
     <dt><code class="parameter">x</code></dt>
     <dd>
      <p class="para">
       X start position of the floodfill
      </p>
     </dd>
    
    
     <dt><code class="parameter">y</code></dt>
     <dd>
      <p class="para">
       Y start position of the floodfill
      </p>
     </dd>
    
    
     <dt><code class="parameter">channel</code></dt>
     <dd>
      <p class="para">
       Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine <a href="imagick.constants.php#imagick.constants.channel" class="link">channel constants</a> using bitwise operators. Defaults to <strong><code><a href="imagick.constants.php#imagick.constants.channel-default">Imagick::CHANNEL_DEFAULT</a></code></strong>. Refer to this list of <a href="imagick.constants.php#imagick.constants.channel" class="link">channel constants</a>
      </p>
     </dd>
    
   </dl>
  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagick.paintfloodfillimage-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on success.
  </p>
 </div>


</div><?php manual_footer($setup); ?>