PHP Velho Oeste 2024

SWFShape::__construct

(PHP 5 < 5.3.0, PECL ming SVN)

SWFShape::__constructCreates a new shape object

Descrição

SWFShape::__construct ( void )
Aviso

Esta função é EXPERIMENTAL. O comportamento, seu nome e documentação podem mudar sem aviso em futuras versões do PHP. Utilize por sua própria conta e risco.

Created a new SWFShape object.

Exemplos

This simple example will draw a big red elliptic quadrant.

Exemplo #1 swfshape() example

<?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

There are no user contributed notes for this page.
To Top