Difference between revisions of "Shape:beginPath"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Shape:beginPath(winding) | Shape:beginPath(winding) | ||
| − | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === | ||
| − | '''winding''': (string | + | '''winding''': (string) specifies the winding rule. It can be either Shape.EVEN_ODD or Shape.NON_ZERO, ('''optional, default = Shape.EVEN_ODD''')<br/> |
{{Shape}} | {{Shape}} | ||
Latest revision as of 00:30, 5 December 2025
Available since: Gideros 2011.6
Class: Shape
Description
Resets the current path.
Shape:beginPath(winding)
Parameters
winding: (string) specifies the winding rule. It can be either Shape.EVEN_ODD or Shape.NON_ZERO, (optional, default = Shape.EVEN_ODD)