Difference between revisions of "Path2D:setConvex"
From GiderosMobile
(removed language stuff) |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(One intermediate revision by the same user not shown) | |||
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) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === |
Latest revision as of 14:32, 13 July 2023
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