Path2D
From GiderosMobile
Supported platforms:
Available since: Gideros 2016.04
Description
Draw quick 2D vector paths. This class aims at being a faster alternative to Shape for complex/curvy shapes.{|- | style="width: 50%;"|
Methods
Path2D.new - Creates Path2D object
Path2D:setConvex - Flag the shape as convex.
Path2D:setFillColor - Sets fill color
Path2D:setFontPath - Sets the path from the outline of a TTFont character
Path2D:setLineColor - Sets line color
Path2D:setLineThickness - Set the thickness of the outline
Path2D:setPath - set path to draw
Path2D:setSvgPath - set path with svg properties
Path2D:setTexture - sets texture for fill
| style="width: 50%;"|
Events
Constants
|}