Difference between revisions of "Shape:beginPath"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Resets the current path.<br /> <br /> <source lang="lua"> = Shape:beginPath(winding,) </source>...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 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 ===
<br />
+
Resets the current path.
Resets the current path.<br />
+
<syntaxhighlight lang="lua">
<br />
+
Shape:beginPath(winding)
<source lang="lua">
+
</syntaxhighlight>
= Shape:beginPath(winding,)
+
 
</source>
+
=== 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, default = Shape.EVEN_ODD) specifies the winding rule. It can be either Shape.EVEN_ODD or Shape.NON_ZERO<br/>
 +
 
 +
{{Shape}}

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2011.6
Class: Shape

Description

Resets the current path.

Shape:beginPath(winding)

Parameters

winding: (string, default = Shape.EVEN_ODD) specifies the winding rule. It can be either Shape.EVEN_ODD or Shape.NON_ZERO