Shape:closePath: Difference between revisions

From GiderosMobile
mNo edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
=== Description ===
=== Description ===
Marks the current subpath as closed, and starts a new subpath with a point the same as the start and end of the newly closed subpath.
Marks the current subpath as closed, and starts a new subpath with a point the same as the start and end of the newly closed subpath.
<source lang="lua">
<syntaxhighlight lang="lua">
Shape:closePath()
Shape:closePath()
</source>
</syntaxhighlight>


{{Shape}}
{{Shape}}

Latest revision as of 13:31, 13 July 2023

Available since: Gideros 2011.6
Class: Shape

Description

Marks the current subpath as closed, and starts a new subpath with a point the same as the start and end of the newly closed subpath.

Shape:closePath()