Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12202

php-manual-en-5.5.7-1.mga4.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>Sets left rasterizing color</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfshape.movepento.html">SWFShape::movePenTo</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfshape.setline.html">SWFShape::setLine</a></div>
 <div class="up"><a href="class.swfshape.html">SWFShape</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="swfshape.setleftfill" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SWFShape::setLeftFill</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFShape::setLeftFill</span> &mdash; <span class="dc-title">Sets left rasterizing color</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-swfshape.setleftfill-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>SWFShape::setLeftFill</strong></span>
    ( <span class="methodparam"><span class="type"><a href="class.swfgradient.html" class="type SWFGradient">SWFGradient</a></span> <code class="parameter">$fill</code></span>
   )</div>

  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>setLeftFill</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$red</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$green</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$blue</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$a</code></span>
  ] )</div>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is
<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this function, its name, and
surrounding documentation may change without notice in a future release of PHP.
This function should be used at your own risk.
</p></div>
  <p class="para">
   What this nonsense is about is, every edge segment borders at most two fills. 
   When rasterizing the object, it&#039;s pretty handy to know what those fills are 
   ahead of time, so the swf format requires these to be specified. 
  </p>
  <p class="para">
    <span class="function"><strong>swfshape::setleftfill()</strong></span> sets the fill on the left side of 
   the edge- that is, on the interior if you&#039;re defining the outline of the shape in a counter-clockwise
   fashion. The fill object is an SWFFill object returned from one of the addFill
   functions above. 
  </p>
  <p class="para">
   This seems to be reversed when you&#039;re defining a shape in a morph, though. 
   If your browser crashes, just try setting the fill on the other side. 
  </p>
  <p class="simpara">
   Shortcut for <em>$swfshape-&gt;setleftfill($s-&gt;addfill($r, $g, $b [, $a]));</em>. 
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swfshape.setleftfill-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-swfshape.setleftfill-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="swfshape.setrightfill.html" class="function" rel="rdfs-seeAlso">SWFShape::setRightFill()</a> - Sets right rasterizing color</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfshape.movepento.html">SWFShape::movePenTo</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfshape.setline.html">SWFShape::setLine</a></div>
 <div class="up"><a href="class.swfshape.html">SWFShape</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>