Difference between revisions of "Path2D:setConvex"

From GiderosMobile
Line 10: Line 10:
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''convex''': (bool) <translate>true if convex</translate> <br/>
 
'''convex''': (bool) <translate>true if convex</translate> <br/>
 +
 +
{{Path2D}}

Revision as of 22:27, 3 December 2019


Available since: Gideros 2016.04
Class: Path2D

Description

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

 Path2D:setConvex(convex)

Parameters

convex: (bool) true if convex