SWFShape::drawCircle

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFShape::drawCircleDraws a circle of radius r centered at the current location, in a counter-clockwise fashion

설명

void SWFShape::drawCircle ( float $r )
Warning

이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.

반환값

값을 반환하지 않습니다.

add a note add a note

User Contributed Notes 1 note

up
0
PhilipWayne
15 years ago
<?php
    ming_UseSwfVersion
(6);
   
   
   
$movie = new SWFMovie();
   
$movie->setRate(20.000000);
   
$movie->setDimension(500, 400);
   
$movie->setBackground(0xcc,0xcc,0xcc);
   
   
$circle = new SWFShape();
   
$circle->setRightFill(00,66,00);
   
$circle->drawCircle(40);
   
$sprite = new SWFSprite;
   
$sprite->add($circle);
   
$sprite->nextFrame();
   
   
$displayitem = $movie->add($sprite);
   
$displayitem->setName("Circle");
   
$displayitem->moveTo(100,100);
   
   
   
$movie->add(new SWFAction("Circle.onPress=function(){ this.startDrag('');};
    Circle.onRelease=Circle.onReleaseOuside=function(){stopDrag();};"
));
   
   
   
header("Content-Type: application/x-shockwave-flash");
   
$movie->output(1);
?>
To Top