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)
Please login to continue.