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: Fri, 17 May 2013

view this page in

SWFDisplayItem::rotate

(PHP 4 >= 4.0.5)

SWFDisplayItem::rotateRota en coordenadas relativas

Descripción

void SWFDisplayItem::rotate ( float $angle )
Advertencia

Esta función ha sido declarada EXPERIMENTAL. Su comportamiento, su nombre y la documentación que le acompaña puede cambiar sin previo aviso en futuras versiones de PHP. Use esta función bajo su propio riesgo.

swfdisplayitem::rotate() rota el objeto actual en angle grados desde su rotación actual.

El objeto puede ser un swfshape(), un swfbutton(), un swftext() o un swfsprite(). Debe haber sido añadido usando swfmovie::>add().

Valores devueltos

No devuelve ningún valor.

Ver también



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 | stats | sitemap | contact | advertising | mirror sites