Difference between revisions of "Shape:closePath"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
 
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Shape]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
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.<br />
+
<syntaxhighlight lang="lua">
<br />
+
Shape:closePath()
<source lang="lua">
+
</syntaxhighlight>
Shape:closePath()
+
 
</source>
+
{{Shape}}

Latest revision as of 14: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()