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

search for in the

SWFShape->drawArc> <SWFShape->addFill
Last updated: Fri, 24 Jul 2009

view this page in

SWFShape->__construct

(PHP 5 <= 5.3.0, PECL ming CVS)

SWFShape->__constructCreates a new shape object

설명

SWFShape __construct ( void )
Warning

이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.

Created a new SWFShape object.

예제

This simple example will draw a big red elliptic quadrant.

Example #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
SWFShape->__construct
There are no user contributed notes for this page.

SWFShape->drawArc> <SWFShape->addFill
Last updated: Fri, 24 Jul 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites