Difference between revisions of "Shape:lineTo"

From GiderosMobile
Line 13: Line 13:
 
'''x''': (number) <translate>x coordinate of the point.</translate> <br/>
 
'''x''': (number) <translate>x coordinate of the point.</translate> <br/>
 
'''y''': (number) <translate>y coordinate of the point.</translate> <br/>
 
'''y''': (number) <translate>y coordinate of the point.</translate> <br/>
 +
 +
{{Shape}}

Revision as of 23:41, 3 December 2019


Available since: Gideros 2011.6
Class: Shape

Description


Adds the given point to the current subpath, connected to the previous one by a straight line.

 Shape:lineTo(x,y)

Parameters

x: (number) x coordinate of the point.
y: (number) y coordinate of the point.