Difference between revisions of "Shape:beginPath"

From GiderosMobile
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Shape]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate><br />
+
Resets the current path.
Resets the current path.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
+
Shape:beginPath(winding)
<source lang="lua">
+
</syntaxhighlight>
Shape:beginPath(winding)
+
 
</source>
 
 
=== Parameters ===
 
=== Parameters ===
'''winding''': (string, default = Shape.EVEN_ODD) <translate>Specifies the winding rule. It can be either Shape.EVEN_ODD or Shape.NON_ZERO.</translate> <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}}

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)