Graphics#drawPolygon()

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)
doc_phaser
2017-02-14 10:49:52
Comments
Leave a Comment

Please login to continue.