<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gmagickpixel.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'gmagickpixel.setcolor.php',
    1 => 'GmagickPixel::setcolor',
    2 => 'Sets the color',
  ),
  'up' => 
  array (
    0 => 'class.gmagickpixel.php',
    1 => 'GmagickPixel',
  ),
  'prev' => 
  array (
    0 => 'gmagickpixel.getcolorvalue.php',
    1 => 'GmagickPixel::getcolorvalue',
  ),
  'next' => 
  array (
    0 => 'gmagickpixel.setcolorvalue.php',
    1 => 'GmagickPixel::setcolorvalue',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gmagick/gmagickpixel/setcolor.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gmagickpixel.setcolor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GmagickPixel::setcolor</h1>
  <p class="verinfo">(PECL gmagick &gt;= Unknown)</p><p class="refpurpose"><span class="refname">GmagickPixel::setcolor</span> &mdash; <span class="dc-title">Sets the color</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gmagickpixel.setcolor-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>GmagickPixel::setcolor</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$color</code></span>): <span class="type"><a href="class.gmagickpixel.php" class="type GmagickPixel">GmagickPixel</a></span></div>

  <p class="simpara">
   Sets the color described by the <span class="classname"><a href="class.gmagickpixel.php" class="classname">GmagickPixel</a></span> object, with a string (e.g. &quot;blue&quot;, &quot;#0000ff&quot;, &quot;rgb(0,0,255)&quot;, &quot;cmyk(100,100,100,10)&quot;, etc.).
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-gmagickpixel.setcolor-parameters">
  <h3 class="title">Parameters</h3>
  <dl>
   
    <dt><code class="parameter">color</code></dt>
    <dd>
     <span class="simpara">
      The color definition to use in order to initialise the <span class="classname"><a href="class.gmagickpixel.php" class="classname">GmagickPixel</a></span> object.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gmagickpixel.setcolor-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   The <span class="classname"><a href="class.gmagickpixel.php" class="classname">GmagickPixel</a></span> object.
  </p>
 </div>


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