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

search for in the

SWFDisplayItem::rotateTo> <SWFDisplayItem::remove
[edit] Last updated: Thu, 23 May 2013

view this page in

SWFDisplayItem::rotate

(PHP 4 >= 4.0.5)

SWFDisplayItem::rotateRotation, en coordonnées relatives

Description

void SWFDisplayItem::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.

Voir aussi



add a note add a note User Contributed Notes SWFDisplayItem::rotate - [1 notes]
up
0
alan_k at hklc dot com
11 years ago
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);

 
show source | credits | sitemap | contact | advertising | mirror sites