📄 function.swftext.setspacing.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Sets the current font spacing</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.swftext.html">SWFText</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.swftextfield.html">SWFTextField</a></div> <div class="up"><a href="class.swftext.html">SWFText</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.swftext.setspacing" class="refentry"> <div class="refnamediv"> <h1 class="refname">SWFText->setSpacing</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">SWFText->setSpacing</span> — <span class="dc-title">Sets the current font spacing</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="classsynopsis"> <div class="ooclass"><a href="class.swftext.html" class="classname">SWFText</a></div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><b>setSpacing</b></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$spacing</tt></span> )</div> </div> <div class="warning"><b class="warning">Warning</b><p class="simpara">This function is<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this function, its name, andsurrounding 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"> <b>swftext->setspacing()</b> sets the current font spacing to <i><tt class="parameter">spacing</tt></i>. Default is 1.0. 0 is all of the letters written at the same point. This doesn't really work that well because it inflates the advance across the letter, doesn't add the same amount of spacing between the letters. I should try and explain that better, prolly. Or just fix the damn thing to do constant spacing. This was really just a way to figure out how letter advances work, anyway.. So nyah. </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.swftext.html">SWFText</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.swftextfield.html">SWFTextField</a></div> <div class="up"><a href="class.swftext.html">SWFText</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -