Shape:moveTo: Difference between revisions

From GiderosMobile
remove language stuff
m Text replacement - "<source" to "<syntaxhighlight"
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>
</source>

Revision as of 13:30, 13 July 2023

Available since: Gideros 2011.6
Class: Shape

Description

Creates a new subpath with the given point. <syntaxhighlight lang="lua"> Shape:moveTo(x,y) </source>

Parameters

x: (number) x coordinate of the point
y: (number) y coordinate of the point