PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFShape->drawCircle()> <SWFShape->__construct()
Last updated: Fri, 18 Jul 2008

view this page in

SWFShape->drawArc()

(PHP 4 >= 4.0.5)

SWFShape->drawArc() — Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured clockwise from 12 o'clock

Descrizione

SWFShape
void drawArc ( float $r , float $startAngle , float $endAngle )
Avviso

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Valori restituiti

Nessun valore viene restituito.

Vedere anche:



add a note add a note User Contributed Notes
SWFShape->drawArc()
visual77 at gmail dot com
30-Jul-2008 10:03
After the arc is drawn, the pen does not return to the original coordinate that the arc started on, which is the center of the circle of which the arc is a part. Instead, the pen will remain at the last spot of the arc.

In the case of a full circle, this means the pen will now be at 12 o'clock on the circle after the arc is drawn.

To revert back to the original position after drawing a circle, you can do this...

<?php

$shape
= new SWFShape();
$shape->drawArc(5, 0, 360);
$shape->movePen(0, 5);

?>

SWFShape->drawCircle()> <SWFShape->__construct()
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites