Shape:beginPath

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: Shape

Description

Resets the current path. <syntaxhighlight lang="lua"> 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