略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SWFShape::drawCircle

2024-11-13

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

说明

SWFShape::drawCircle ( float $r ) : void
Warning

本函数还未编写文档,仅有参数列表。

返回值

没有返回值。

add a note add a note

User Contributed Notes 1 note

up
0
PhilipWayne
10 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);
?>

官方地址:https://www.php.net/manual/en/swfshape.drawcircle.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3