Shape:lineTo: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
=== <translate>Description</translate> ===
<translate><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 />
Line 8: Line 8:
  Shape:lineTo(x,y)
  Shape:lineTo(x,y)
</source>
</source>
=== Parameters ===
=== <translate>Parameters</translate> ===
'''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/>

Revision as of 06:26, 24 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.