<!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 SWFTextField class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="swftext.setspacing.html">SWFText::setSpacing</a></div> <div class="next" style="text-align: right; float: right;"><a href="swftextfield.addchars.html">SWFTextField::addChars</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.swftextfield" class="reference"> <h1 class="title">The SWFTextField class</h1> <div class="partintro"><p class="verinfo">(PHP 5 <= 5.3.0, PECL ming SVN)</p> <div class="section" id="swftextfield.intro"> <h2 class="title">Introduction</h2> <p class="para"> SWFTextField. </p> </div> <div class="section" id="swftextfield.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">SWFTextField</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="swftextfield.addchars.html" class="methodname">addChars</a></span> ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$chars</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><a href="swftextfield.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="swftextfield.align.html" class="methodname">align</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$alignement</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="methodname"><a href="swftextfield.construct.html" class="methodname">__construct</a></span> ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><a href="swftextfield.setbounds.html" class="methodname">setBounds</a></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$width</code></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="swftextfield.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="swftextfield.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="swftextfield.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="swftextfield.setindentation.html" class="methodname">setIndentation</a></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$width</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><a href="swftextfield.setleftmargin.html" class="methodname">setLeftMargin</a></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$width</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><a href="swftextfield.setlinespacing.html" class="methodname">setLineSpacing</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="swftextfield.setmargins.html" class="methodname">setMargins</a></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$left</code></span> , <span class="methodparam"><span class="type">float</span> <code class="parameter">$right</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><a href="swftextfield.setname.html" class="methodname">setName</a></span> ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><a href="swftextfield.setpadding.html" class="methodname">setPadding</a></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$padding</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><a href="swftextfield.setrightmargin.html" class="methodname">setRightMargin</a></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$width</code></span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="swftextfield.addchars.html">SWFTextField::addChars</a> — adds characters to a font that will be available within a textfield</li><li><a href="swftextfield.addstring.html">SWFTextField::addString</a> — Concatenates the given string to the text field</li><li><a href="swftextfield.align.html">SWFTextField::align</a> — Sets the text field alignment</li><li><a href="swftextfield.construct.html">SWFTextField::__construct</a> — Creates a text field object</li><li><a href="swftextfield.setbounds.html">SWFTextField::setBounds</a> — Sets the text field width and height</li><li><a href="swftextfield.setcolor.html">SWFTextField::setColor</a> — Sets the color of the text field</li><li><a href="swftextfield.setfont.html">SWFTextField::setFont</a> — Sets the text field font</li><li><a href="swftextfield.setheight.html">SWFTextField::setHeight</a> — Sets the font height of this text field font</li><li><a href="swftextfield.setindentation.html">SWFTextField::setIndentation</a> — Sets the indentation of the first line</li><li><a href="swftextfield.setleftmargin.html">SWFTextField::setLeftMargin</a> — Sets the left margin width of the text field</li><li><a href="swftextfield.setlinespacing.html">SWFTextField::setLineSpacing</a> — Sets the line spacing of the text field</li><li><a href="swftextfield.setmargins.html">SWFTextField::setMargins</a> — Sets the margins width of the text field</li><li><a href="swftextfield.setname.html">SWFTextField::setName</a> — Sets the variable name</li><li><a href="swftextfield.setpadding.html">SWFTextField::setPadding</a> — Sets the padding of this textfield</li><li><a href="swftextfield.setrightmargin.html">SWFTextField::setRightMargin</a> — Sets the right margin width of the text field</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="swftext.setspacing.html">SWFText::setSpacing</a></div> <div class="next" style="text-align: right; float: right;"><a href="swftextfield.addchars.html">SWFTextField::addChars</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>