Difference between revisions of "Path2D:setConvex"
From GiderosMobile
 (removed language stuff)  | 
				m (Text replacement - "<source" to "<syntaxhighlight")  | 
				||
| Line 5: | Line 5: | ||
=== Description ===  | === Description ===  | ||
Flags this shape as convex. Convex shapes can be rendered faster.  | Flags this shape as convex. Convex shapes can be rendered faster.  | ||
| − | <  | + | <syntaxhighlight lang="lua">  | 
Path2D:setConvex(convex)  | Path2D:setConvex(convex)  | ||
</source>  | </source>  | ||
Revision as of 14:30, 13 July 2023
Available since: Gideros 2016.04
Class: Path2D
Description
Flags this shape as convex. Convex shapes can be rendered faster. <syntaxhighlight lang="lua"> Path2D:setConvex(convex) </source>
Parameters
convex: (bool) true if convex