Sophie

Sophie

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

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 SWFText class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfsprite.stopsound.html">SWFSprite::stopSound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swftext.addstring.html">SWFText::addString</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.swftext" class="reference">
 <h1 class="title">The SWFText class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5 &lt;= 5.3.0, PECL ming SVN)</p>
 

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

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

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

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

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swftext.addstring.html" class="methodname">addString</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$string</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swftext.addutf8string.html" class="methodname">addUTF8String</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$text</code></span>
   )</div>
<div class="methodsynopsis dc-description">
    <span class="methodname"><a href="swftext.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swftext.getascent.html" class="methodname">getAscent</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swftext.getdescent.html" class="methodname">getDescent</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swftext.getleading.html" class="methodname">getLeading</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swftext.getutf8width.html" class="methodname">getUTF8Width</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$string</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swftext.getwidth.html" class="methodname">getWidth</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$string</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swftext.moveto.html" class="methodname">moveTo</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="swftext.setcolor.html" class="methodname">setColor</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">$a</code><span class="initializer"> = 255</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swftext.setfont.html" class="methodname">setFont</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>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swftext.setheight.html" class="methodname">setHeight</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$height</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span> <span class="methodname"><a href="swftext.setspacing.html" class="methodname">setSpacing</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$spacing</code></span>
   )</div>

 
   }</div>

 
  </div>
 </div>
 
 














































































 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="swftext.addstring.html">SWFText::addString</a> — Draws a string</li><li><a href="swftext.addutf8string.html">SWFText::addUTF8String</a> — Writes the given text into this SWFText object at the current pen position,
 using the current font, height, spacing, and color</li><li><a href="swftext.construct.html">SWFText::__construct</a> — Creates a new SWFText object</li><li><a href="swftext.getascent.html">SWFText::getAscent</a> — Returns the ascent of the current font at its current size, or 0 if not available</li><li><a href="swftext.getdescent.html">SWFText::getDescent</a> — Returns the descent of the current font at its current size, or 0 if not available</li><li><a href="swftext.getleading.html">SWFText::getLeading</a> — Returns the leading of the current font at its current size, or 0 if not available</li><li><a href="swftext.getutf8width.html">SWFText::getUTF8Width</a> — calculates the width of the given string in this text objects current font and size</li><li><a href="swftext.getwidth.html">SWFText::getWidth</a> — Computes string's width</li><li><a href="swftext.moveto.html">SWFText::moveTo</a> — Moves the pen</li><li><a href="swftext.setcolor.html">SWFText::setColor</a> — Sets the current text color</li><li><a href="swftext.setfont.html">SWFText::setFont</a> — Sets the current font</li><li><a href="swftext.setheight.html">SWFText::setHeight</a> — Sets the current font height</li><li><a href="swftext.setspacing.html">SWFText::setSpacing</a> — Sets the current font spacing</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfsprite.stopsound.html">SWFSprite::stopSound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swftext.addstring.html">SWFText::addString</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>