Difference between revisions of "Shape:moveTo"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Shape]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Shape|Shape]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Creates a new subpath with the given point.
Creates a new subpath with the given point.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
+
Shape:moveTo(x,y)
<source lang="lua">
+
</syntaxhighlight>
Shape:moveTo(x,y)
+
 
</source>
+
=== Parameters ===
=== <translate>Parameters</translate> ===
+
'''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/>
+
 
 +
{{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