Difference between revisions of "Path2D:setConvex"
From GiderosMobile
 (Created page with "__NOTOC__ '''Available since:''' Gideros 2016.04<br/> === Description === Flag this shape as convex. Convex shapes can be rendered faster. <source lang="lua"> = Path2D:setConv...")  | 
				|||
| Line 4: | Line 4: | ||
Flag this shape as convex. Convex shapes can be rendered faster.  | Flag this shape as convex. Convex shapes can be rendered faster.  | ||
<source lang="lua">  | <source lang="lua">  | ||
| − | + |  Path2D:setConvex(convex)  | |
</source>  | </source>  | ||
| − | '''convex  | + | '''convex''': (bool) true if convex ''''''<br/>  | 
Revision as of 10:17, 23 August 2018
Available since: Gideros 2016.04
Description
Flag this shape as convex. Convex shapes can be rendered faster.
 Path2D:setConvex(convex)
'convex: (bool) true if convex '