Shape:moveTo: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Shape|Shape]]<br/>
'''Class:''' [[Shape]]<br/>
=== <translate>Description</translate> ===
 
<translate><br />
=== Description ===
Creates a new subpath with the given point.<br />
Creates a new subpath with the given point.
<br /></translate>
<syntaxhighlight lang="lua">
<source lang="lua">
Shape:moveTo(x,y)
Shape:moveTo(x,y)
</syntaxhighlight>
</source>
 
=== <translate>Parameters</translate> ===
=== Parameters ===
'''x''': (number) <translate>x coordinate of the point.</translate> <br/>
'''x''': (number) x coordinate of the point<br/>
'''y''': (number) <translate>y coordinate of the point.</translate> <br/>
'''y''': (number) y coordinate of the point<br/>
 
{{Shape}}

Latest revision as of 13: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