Source of: /manual/fa/function.swfdisplayitem.rotate.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.swfdisplayitem.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'fa',
),
'this' =>
array (
0 => 'function.swfdisplayitem.rotate.php',
1 => 'SWFDisplayItem->rotate',
),
'up' =>
array (
0 => 'class.swfdisplayitem.php',
1 => 'SWFDisplayItem',
),
'prev' =>
array (
0 => 'function.swfdisplayitem.remove.php',
1 => 'SWFDisplayItem->remove',
),
'next' =>
array (
0 => 'function.swfdisplayitem.rotateto.php',
1 => 'SWFDisplayItem->rotateTo',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.swfdisplayitem.rotate" class="refentry">
<div class="refnamediv">
<h1 class="refname">SWFDisplayItem->rotate</h1>
<p class="verinfo">(PHP 4 >= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFDisplayItem->rotate</span> — <span class="dc-title">Rotates in relative coordinates</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.swfdisplayitem.rotate-description">
<h3 class="title">Description</h3>
<div class="classsynopsis">
<div class="ooclass"></div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>SWFDisplayItem::rotate</b></span>
( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$angle</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, 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">
<span class="function"><b>swfdisplayitem->rotate()</b></span> rotates the current object
by <i><tt class="parameter">angle</tt></i> degrees from its current rotation.
</p>
<p class="simpara">
The object may be a <span class="function"><b>swfshape()</b></span>, a
<span class="function"><b>swfbutton()</b></span>, a <span class="function"><b>swftext()</b></span> or a
<span class="function"><b>swfsprite()</b></span> object. It must have been added using
the <span class="function"><a href="function.swfmovie.add.php" class="function">swfmovie->add()</a></span>.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.swfdisplayitem.rotate-returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
No value is returned.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.swfdisplayitem.rotate-seealso">
<h3 class="title">See Also</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><a href="function.swfdisplayitem.rotateto.php" class="xref">SWFDisplayItem->rotateTo</a></li>
</ul>
</p>
</div>
</div><?php manual_footer(); ?>