Difference between revisions of "Shape:lineTo"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Adds the given point to the current subpath, connected to the previous one by a straight line.<br /> | Adds the given point to the current subpath, connected to the previous one by a straight line.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
Shape:lineTo(x,y) | Shape:lineTo(x,y) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''x''': (number) x coordinate of the point. <br/> | + | '''x''': (number) <translate>x coordinate of the point.</translate> <br/> |
− | '''y''': (number) y coordinate of the point. <br/> | + | '''y''': (number) <translate>y coordinate of the point.</translate> <br/> |
Revision as of 13:32, 23 August 2018
Available since: Gideros 2011.6
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.