Difference between revisions of "Shape:closePath"
From GiderosMobile
m |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
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. | ||
− | < | + | <syntaxhighlight lang="lua"> |
Shape:closePath() | Shape:closePath() | ||
</source> | </source> | ||
{{Shape}} | {{Shape}} |
Revision as of 14:30, 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. <syntaxhighlight lang="lua"> Shape:closePath() </source>