Graphics#lineStyle()

lineStyle(lineWidth, color, alpha) → {PIXI.Graphics}

Specifies the line style used for subsequent calls to Graphics methods such as the lineTo() method or the drawCircle() method.

Parameters
Name Type Description
lineWidth Number

width of the line to draw, will update the objects stored style

color Number

color of the line to draw, will update the objects stored style

alpha Number

alpha of the line to draw, will update the objects stored style

Returns
Source code: pixi/primitives/Graphics.js (Line 149)
doc_phaser
2017-02-14 10:50:14
Comments
Leave a Comment

Please login to continue.