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::rotate相対座標で回転させる

説明

void SWFDisplayItem::rotate ( float $angle )
警告

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。

swfdisplayitem::rotate() は、現在のオブジェクトを 現在の角度から ddegrees 度回転させます。

オブジェクトは、 swfshape()swfbutton()swftext()swfsprite() のいずれかとなります。 これは、 swfmovie::add() で追加されたものでなければなりません。

返り値

値を返しません。

参考



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