Difference between revisions of "Shape:moveTo"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Creates a new subpath with the given point.<br /> <br /> <source lang="lua"> = Shape:moveTo(xy,...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
+ | '''Class:''' [[Shape]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Creates a new subpath with the given point. | |
− | Creates a new subpath with the given point. | + | <syntaxhighlight lang="lua"> |
− | < | + | Shape:moveTo(x,y) |
− | + | </syntaxhighlight> | |
− | + | ||
− | </ | + | === Parameters === |
− | '''x | + | '''x''': (number) x coordinate of the point<br/> |
− | '''y | + | '''y''': (number) y coordinate of the point<br/> |
+ | |||
+ | {{Shape}} |
Latest revision as of 14:32, 13 July 2023
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