Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 14148

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Set Color</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ui-draw-brush.getcolor.html">UI\Draw\Brush::getColor</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.ui-draw-brush-gradient.html">UI\Draw\Brush\Gradient</a></div>
 <div class="up"><a href="class.ui-draw-brush.html">UI\Draw\Brush</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ui-draw-brush.setcolor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">UI\Draw\Brush::setColor</h1>
  <p class="verinfo">(PHP 7, UI 0.9.9)</p><p class="refpurpose"><span class="refname">UI\Draw\Brush::setColor</span> &mdash; <span class="dc-title">Set Color</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-ui-draw-brush.setcolor-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>UI\Draw\Brush::setColor</strong></span>
    ( <span class="methodparam"><span class="type"><span class="type UI\Draw\Color">UI\Draw\Color</span></span> <code class="parameter">$color</code></span>
   )</div>

  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>UI\Draw\Brush::setColor</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$color</code></span>
   )</div>

  <p class="para rdfs-comment">
   Shall set the color of this brush to the color provided
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-ui-draw-brush.setcolor-parameters">
  <h3 class="title">Parameters</h3>
  <dl>

   
    <dt>
<code class="parameter">color</code></dt>

    <dd>

     <p class="para">
      Can be a UI\Draw\Color or RRGGBBAA
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-ui-draw-brush.setcolor-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ui-draw-brush.getcolor.html">UI\Draw\Brush::getColor</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.ui-draw-brush-gradient.html">UI\Draw\Brush\Gradient</a></div>
 <div class="up"><a href="class.ui-draw-brush.html">UI\Draw\Brush</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>