Difference between revisions of "Shape:moveTo"

From GiderosMobile
(remove language stuff)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Creates a new subpath with the given point.
 
Creates a new subpath with the given point.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Shape:moveTo(x,y)
 
Shape:moveTo(x,y)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

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