SWFShape->drawCubic> <SWFShape->drawArc
Last updated: Fri, 30 Dec 2011

SWFShape->drawCircle

(PHP 4 >= 4.0.5)

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

Descrição

void SWFShape::drawCircle ( float $r )
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Valor Retornado

Não há valor retornado.



User Contributed Notes
SWFShape->drawCircle
PhilipWayne
31-Mar-2009 12:14
<?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);
?>

SWFShape->drawCubic> <SWFShape->drawArc
Last updated: Fri, 30 Dec 2011