<?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 => 'uk',
  ),
  'this' => 
  array (
    0 => 'imagick.colorfloodfillimage.php',
    1 => 'Imagick::colorFloodfillImage',
    2 => 'Changes the color value of any pixel that matches target',
  ),
  'up' => 
  array (
    0 => 'class.imagick.php',
    1 => 'Imagick',
  ),
  'prev' => 
  array (
    0 => 'imagick.coalesceimages.php',
    1 => 'Imagick::coalesceImages',
  ),
  'next' => 
  array (
    0 => 'imagick.colorizeimage.php',
    1 => 'Imagick::colorizeImage',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imagick/imagick/colorfloodfillimage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

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

 </div>

 <div id="imagick.colorfloodfillimage-refsynopsisdiv">
   <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Ця функція
<em>ЗАСТАРІЛА</em> починаючи з Imagick 3.4.4. Вкрай не
рекомендується на неї покладатися.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-imagick.colorfloodfillimage-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::colorFloodfillImage</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>): <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.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.colorfloodfillimage-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">fill</code></dt>
     <dd>
      <p class="para">
       ImagickPixel object 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 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>
    
   </dl>
  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagick.colorfloodfillimage-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Повертає <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> в разі успіху.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-imagick.colorfloodfillimage-errors">
  <h3 class="title">Помилки/виключення</h3>
  <p class="para">
   Кидає ImagickException в разі помилки.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-imagick.colorfloodfillimage-changelog">
  <h3 class="title">Журнал змін</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Версія</th>
       <th>Опис</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>PECL imagick 2.1.0</td>
       <td>
        Now allows a string representing the color as first and third
        parameter. Previous versions allow only an ImagickPixel object.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


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