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

search for in the

SWFShape::drawArc> <SWFShape::addFill
[edit] Last updated: Fri, 17 May 2013

view this page in

SWFShape::__construct

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFShape::__constructCrea un nuevo objeto forma

Descripción

SWFShape::__construct ( void )
Advertencia

Esta función ha sido declarada EXPERIMENTAL. Su comportamiento, su nombre y la documentación que le acompaña puede cambiar sin previo aviso en futuras versiones de PHP. Use esta función bajo su propio riesgo.

Crea un nuevo objeto SWFShape.

Ejemplos

Este sencillo ejemplo dibujará un gran cuadrante elíptico rojo.

Ejemplo #1 Ejemplo de 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 - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites