dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

swf_shapemoveto> <swf_shapelinesolid
[edit] Last updated: Fri, 28 Jun 2013

view this page in

swf_shapelineto

(PHP 4)

swf_shapelinetoDraw a line

Description

void swf_shapelineto ( float $x , float $y )

Draws a line to the x and y coordinates. The current position is then set to that point.

Parameters

x

x-coordinate of the target.

y

y-coordinate of the target.

Return Values

No value is returned.



add a note add a note User Contributed Notes swf_shapelineto - [1 notes]
up
0
mathe at bluemento dot de
9 years ago
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.

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