PIXI. Phaser.GraphicsData

new Phaser.GraphicsData(lineWidth, lineColor, lineAlpha, fillColor, fillAlpha, fill, shape)

A GraphicsData object.

Parameters:
Name Type Description
lineWidth number

the width of the line to draw

lineColor number

the color of the line to draw

lineAlpha number

the alpha of the line to draw

fillColor number

the color of the fill

fillAlpha number

the alpha of the fill

fill boolean

whether or not the shape is filled with a colour

shape Circle | Rectangle | Ellipse | Line | Polygon

The shape object to draw.

Source - gameobjects/GraphicsData.js, line 15
Phaser Copyright © 2012-2016 Photon Storm Ltd.
Documentation generated by JSDoc 3.4.3 on Tue Dec 06 2016 23:49:06 GMT+0000 (GMT Standard Time) using the DocStrap template.