Difference between revisions of "Shape:beginPath"

From GiderosMobile
(remove language stuff)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Resets the current path.
 
Resets the current path.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Shape:beginPath(winding)
 
Shape:beginPath(winding)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
'''winding''': (string, default = Shape.EVEN_ODD) specifies the winding rule. It can be either Shape.EVEN_ODD or Shape.NON_ZERO<br/>
+
'''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)