Difference between revisions of "Shape:lineTo"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Adds the given point to the current subpath, connected to the previous one by a straight line.<...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Shape:lineTo(x,y) | |
</source> | </source> | ||
'''x:''' (number) x coordinate of the point. ''''''<br/> | '''x:''' (number) x coordinate of the point. ''''''<br/> | ||
'''y:''' (number) y coordinate of the point. ''''''<br/> | '''y:''' (number) y coordinate of the point. ''''''<br/> |
Revision as of 10:11, 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)
'x: (number) x coordinate of the point. '
'y: (number) y coordinate of the point. '