Difference between revisions of "Shape:closePath"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 6: Line 6:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Shape:closePath()
 
Shape:closePath()
</source>
+
</syntaxhighlight>
  
 
{{Shape}}
 
{{Shape}}

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