Sophie

Sophie

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

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>The SWFShape class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfprebuiltclip.construct.html">SWFPrebuiltClip::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div>
 <div class="up"><a href="book.ming.html">Ming</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.swfshape" class="reference">
 <h1 class="title">The SWFShape class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5 &lt;= 5.3.0, PECL ming SVN)</p>
 

  <div class="section" id="swfshape.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    SWFShape.
   </p>
  </div>

 
  <div class="section" id="swfshape.synopsis">
   <h2 class="title">Class synopsis</h2>
 

   <div class="classsynopsis">
    <div class="ooclass"></div>
 

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">SWFShape</strong>
     </span>
     {</div>

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="type">SWFFill</span> <span class="methodname"><a href="swfshape.addfill.html" class="methodname">addFill</a></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">$alpha</code><span class="initializer"> = 255</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
    <span class="methodname"><a href="swfshape.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.drawarc.html" class="methodname">drawArc</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$r</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$startAngle</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$endAngle</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.drawcircle.html" class="methodname">drawCircle</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$r</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="swfshape.drawcubic.html" class="methodname">drawCubic</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$bx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$by</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$cx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$cy</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$dx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$dy</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="swfshape.drawcubicto.html" class="methodname">drawCubicTo</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$bx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$by</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$cx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$cy</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$dx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$dy</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="swfshape.drawcurve.html" class="methodname">drawCurve</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$controldx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$controldy</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$anchordx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$anchordy</code></span>
   [, <span class="methodparam"><span class="type">float</span> <code class="parameter">$targetdx</code></span>
   ], <span class="methodparam"><span class="type">float</span> <code class="parameter">$targetdy</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="swfshape.drawcurveto.html" class="methodname">drawCurveTo</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$controlx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$controly</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$anchorx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$anchory</code></span>
   [, <span class="methodparam"><span class="type">float</span> <code class="parameter">$targetx</code></span>
   ], <span class="methodparam"><span class="type">float</span> <code class="parameter">$targety</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.drawglyph.html" class="methodname">drawGlyph</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.swffont.html" class="type SWFFont">SWFFont</a></span> <code class="parameter">$font</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$character</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$size</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.drawline.html" class="methodname">drawLine</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$dx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$dy</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.drawlineto.html" class="methodname">drawLineTo</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$x</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$y</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.movepen.html" class="methodname">movePen</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$dx</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$dy</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.movepento.html" class="methodname">movePenTo</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$x</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$y</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.setleftfill.html" class="methodname">setLeftFill</a></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">void</span> <span class="methodname"><a href="swfshape.setline.html" class="methodname">setLine</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.swfshape.html" class="type SWFShape">SWFShape</a></span> <code class="parameter">$shape</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swfshape.setrightfill.html" class="methodname">setRightFill</a></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>

 
  </div>
 </div>
 











































  




















































 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="swfshape.addfill.html">SWFShape::addFill</a> — Adds a solid fill to the shape</li><li><a href="swfshape.construct.html">SWFShape::__construct</a> — Creates a new shape object</li><li><a href="swfshape.drawarc.html">SWFShape::drawArc</a> — Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured clockwise from 12 o'clock</li><li><a href="swfshape.drawcircle.html">SWFShape::drawCircle</a> — Draws a circle of radius r centered at the current location, in a counter-clockwise fashion</li><li><a href="swfshape.drawcubic.html">SWFShape::drawCubic</a> — Draws a cubic bezier curve using the current position and the three given points as control points</li><li><a href="swfshape.drawcubicto.html">SWFShape::drawCubicTo</a> — Draws a cubic bezier curve using the current position and the three given points as control points</li><li><a href="swfshape.drawcurve.html">SWFShape::drawCurve</a> — Draws a curve (relative)</li><li><a href="swfshape.drawcurveto.html">SWFShape::drawCurveTo</a> — Draws a curve</li><li><a href="swfshape.drawglyph.html">SWFShape::drawGlyph</a> — Draws the first character in the given string into the shape using the glyph definition from the given font</li><li><a href="swfshape.drawline.html">SWFShape::drawLine</a> — Draws a line (relative)</li><li><a href="swfshape.drawlineto.html">SWFShape::drawLineTo</a> — Draws a line</li><li><a href="swfshape.movepen.html">SWFShape::movePen</a> — Moves the shape's pen (relative)</li><li><a href="swfshape.movepento.html">SWFShape::movePenTo</a> — Moves the shape's pen</li><li><a href="swfshape.setleftfill.html">SWFShape::setLeftFill</a> — Sets left rasterizing color</li><li><a href="swfshape.setline.html">SWFShape::setLine</a> — Sets the shape's line style</li><li><a href="swfshape.setrightfill.html">SWFShape::setRightFill</a> — Sets right rasterizing color</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfprebuiltclip.construct.html">SWFPrebuiltClip::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div>
 <div class="up"><a href="book.ming.html">Ming</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>