Path2D:setConvex

From GiderosMobile
Revision as of 14:32, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.04
Class: Path2D

Description

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

Path2D:setConvex(convex)

Parameters

convex: (bool) true if convex