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

search for in the

swf_shapemoveto> <swf_shapelinesolid
Last updated: Fri, 13 Nov 2009

view this page in

swf_shapelineto

(PHP 4)

swf_shapelineto線を描画する

説明

void swf_shapelineto ( float $x , float $y )

パラメータ xy で指定した x,y 座標まで線を描きます。 現在の位置はパラメータ x,y となります。

パラメータ

x

対象の x 座標。

y

対象の y 座標。

返り値

値を返しません。



add a note add a note User Contributed Notes
swf_shapelineto
mathe at bluemento dot de
15-Sep-2003 03:58
I did make other experience with this function:

swf_startshape ($this->gButton);
  swf_addcolor(0,0,0,0);
  swf_shapelinesolid(1,0,0,0,5);
  swf_shapefillsolid($r,$g,$b,1);
  swf_shapemoveto(0,10);
  swf_shapelineto(60,10);
  swf_shapelineto(60,-5);
  swf_shapelineto(-35,-5);
  swf_shapelineto(-35,10);
swf_endshape($this->gButton);

Here, swf_shapelineto doesnt set the given values to the
current position. In case this would not build a rectangle -
but it does.

swf_shapemoveto> <swf_shapelinesolid
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites