Shape:beginPath: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source>" to "</syntaxhighlight>"
Line 7: Line 7:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Shape:beginPath(winding)
Shape:beginPath(winding)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

Revision as of 13: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