Difference between revisions of "Shape:moveTo"
From GiderosMobile
(remove language stuff) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[Shape]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Creates a new subpath with the given point. | |
− | Creates a new subpath with the given point. | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Shape:moveTo(x,y) | |
</source> | </source> | ||
− | === | + | |
− | '''x''': (number) | + | === Parameters === |
− | '''y''': (number) | + | '''x''': (number) x coordinate of the point<br/> |
+ | '''y''': (number) y coordinate of the point<br/> | ||
{{Shape}} | {{Shape}} |
Revision as of 02:11, 25 January 2021
Available since: Gideros 2011.6
Class: Shape
Description
Creates a new subpath with the given point.
Shape:moveTo(x,y)
Parameters
x: (number) x coordinate of the point
y: (number) y coordinate of the point