downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the Git repository for this website on git.php.net.

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-&gt;rotate',
  ),
 
'up' =>
  array (
   
0 => 'class.swfdisplayitem.php',
   
1 => 'SWFDisplayItem',
  ),
 
'prev' =>
  array (
   
0 => 'function.swfdisplayitem.remove.php',
   
1 => 'SWFDisplayItem-&gt;remove',
  ),
 
'next' =>
  array (
   
0 => 'function.swfdisplayitem.rotateto.php',
   
1 => 'SWFDisplayItem-&gt;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 &gt;= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFDisplayItem-&gt;rotate</span> &mdash; <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-&gt;rotateTo</a></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites