Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12114

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>Adds a shape to a button</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfbutton.addasound.html">SWFButton::addASound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfbutton.construct.html">SWFButton::__construct</a></div>
 <div class="up"><a href="class.swfbutton.html">SWFButton</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="swfbutton.addshape" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SWFButton::addShape</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFButton::addShape</span> &mdash; <span class="dc-title">Adds a shape to a button</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-swfbutton.addshape-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>SWFButton::addShape</strong></span>
    ( <span class="methodparam"><span class="type"><a href="class.swfshape.html" class="type SWFShape">SWFShape</a></span> <code class="parameter">$shape</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</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">
   Adds the given <em><code class="parameter">shape</code></em> to the button. 
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-swfbutton.addshape-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">shape</code></em></span>
     <dd>

      <p class="para">
       An <a href="class.swfshape.html" class="classname">SWFShape</a> instance
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">flags</code></em></span>
     <dd>

      <p class="para">
       The following <em><code class="parameter">flags</code></em> are valid: 
       <strong><code>SWFBUTTON_UP</code></strong>, 
       <strong><code>SWFBUTTON_OVER</code></strong>, 
       <strong><code>SWFBUTTON_DOWN</code></strong> and
       <strong><code>SWFBUTTON_HIT</code></strong>.
      </p>
      <p class="para">
       <strong><code>SWFBUTTON_HIT</code></strong> isn&#039;t ever displayed, it defines
       the hit region for the button. That is, everywhere the hit shape would
       be drawn is considered a &quot;touchable&quot; part of the button. 
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


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


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfbutton.addasound.html">SWFButton::addASound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfbutton.construct.html">SWFButton::__construct</a></div>
 <div class="up"><a href="class.swfbutton.html">SWFButton</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>