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

search for in the

SWFDisplayItem->rotateTo> <SWFDisplayItem->remove
Last updated: Fri, 14 Aug 2009

view this page in

SWFDisplayItem->rotate

(PHP 4 >= 4.0.5)

SWFDisplayItem->rotateRotation, en coordonnées relatives

Description

void rotate ( float $angle )
Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

swfdisplayitem->rotate() tourne l'objet curant d'un angle angle (en degrés).

Cet objet peut être un objet swfshape(), un objet swfbutton(), un objet swftext() ou un objet swfsprite(). Il doit être ajouté avec la fonction swfmovie->add().

Valeurs de retour

Aucune valeur n'est retournée.



add a note add a note User Contributed Notes
SWFDisplayItem->rotate
alan_k at hklc dot com
31-Jul-2001 03:01
if you are looking to place 'rotated text' (not animated)
create the text without a location
then add it to the movie
$di = $movie->add($my_text_object);
then move and rotate the result.
$di->moveto($x,$y);
$di->rotate(90);

SWFDisplayItem->rotateTo> <SWFDisplayItem->remove
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites