Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: swf_shapelineto - Manual
[go: Go Back, main page]

PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<swf_shapelinesolidswf_shapemoveto" width="11" height="7"/>
view the version of this page
Last updated: Sun, 13 Mar 2005

swf_shapelineto

(PHP 4 )

swf_shapelineto -- Draw a line

Description

void swf_shapelineto ( float x, float y )

The swf_shapelineto() draws a line to the x,y coordinates given by the x parameter & the y parameter. The current position is then set to the x,y parameters.



add a note add a note User Contributed Notes
swf_shapelineto
mathe at bluemento dot de
16-Sep-2003 12: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_shapelinesolidswf_shapemoveto" width="11" height="7"/>
 Last updated: Sun, 13 Mar 2005
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This mirror generously provided by: HappySize, Inc.
Last updated: Wed Feb 23 18:30:07 2005 JST