Difference between revisions of "Shape:beginPath"
From GiderosMobile
(remove language stuff) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[Shape]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Resets the current path. | |
− | Resets the current path. | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Shape:beginPath(winding) | |
</source> | </source> | ||
− | === | + | |
− | '''winding''': (string, default = Shape.EVEN_ODD) | + | === Parameters === |
+ | '''winding''': (string, default = Shape.EVEN_ODD) specifies the winding rule. It can be either Shape.EVEN_ODD or Shape.NON_ZERO<br/> | ||
{{Shape}} | {{Shape}} |
Revision as of 02:05, 25 January 2021
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