Difference between revisions of "Path2D:setConvex"

From GiderosMobile
Line 6: Line 6:
 
  Path2D:setConvex(convex)
 
  Path2D:setConvex(convex)
 
</source>
 
</source>
'''convex''': (bool) true if convex ''''''<br/>
+
=== Parameters ===
 +
'''convex''': (bool) true if convex <br/>

Revision as of 10:44, 23 August 2018

Available since: Gideros 2016.04

Description

Flag this shape as convex. Convex shapes can be rendered faster.

 Path2D:setConvex(convex)

Parameters

convex: (bool) true if convex