PHP Doku:: Draws a circle of radius r centered at the current location, in a counter-clockwise fashion - function.swfshape.drawcircle.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenMing (flash)The SWFShape classSWFShape->drawCircle

Ein Service von Reinhard Neidl - Webprogrammierung.

Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
The SWFShape class

<<SWFShape->drawArc

SWFShape->drawCubic>>

SWFShape->drawCircle

(PHP 4 >= 4.0.5)

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

Beschreibung

void SWFShape::drawCircle ( float $r )
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Rückgabewerte

Es wird kein Wert zurückgegeben.


Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
Ein BenutzerBeitrag:
- Beiträge aktualisieren...
PhilipWayne
31.03.2009 17: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);
?>



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)