Difference between revisions of "Shape:beginPath"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Shape|Shape]]<br/>
+
'''Class:''' [[Shape]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Resets the current path.<br />
+
Resets the current path.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
+
Shape:beginPath(winding)
Shape:beginPath(winding)
+
</syntaxhighlight>
</source>
+
 
=== <translate>Parameters</translate> ===
+
=== 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, 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 15: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