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

search for in the

SWFShape->drawArc()> <SWFShape->addFill()
Last updated: Fri, 10 Oct 2008

view this page in

SWFShape->__construct()

(No version information available, might be only in CVS)

SWFShape->__construct()Crée un nouvel objet SWFShape

Description

SWFShape
SWFShape __construct ( void )
Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

Crée un nouvel objet SWFShape.

Exemples

Cet exemple trace une ellipse, en rouge.

Exemple #1 Exemple avec swfshape()

<?php
$s 
= new SWFShape();
$s->setLine(400x7f00);
$s->setRightFill($s->addFill(0xff00));
$s->movePenTo(200200);
$s->drawLineTo(6200200);
$s->drawLineTo(62004600);
$s->drawCurveTo(2004600200200);

$m = new SWFMovie();
$m->setDimension(64004800);
$m->setRate(12.0);
$m->add($s);
$m->nextFrame();

header('Content-type: application/x-shockwave-flash');
$m->output();
?>



add a note add a note User Contributed Notes
SWFShape->__construct()
There are no user contributed notes for this page.

SWFShape->drawArc()> <SWFShape->addFill()
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites