drawPolygon(path) → {PIXI.Graphics}
Draws a polygon using the given path.
Parameters
Name | Type | Description |
---|---|---|
path | Array | PhaserPolygon | The path data used to construct the polygon. Can either be an array of points or a Phaser.Polygon object. |
Returns
- Inherited From
- Source code: pixi/primitives/Graphics.js (Line 598)
Please login to continue.