Graphics#beginFill()

beginFill(color, alpha) → {PIXI.Graphics}

Specifies a simple one-color fill that subsequent calls to other Graphics methods
(such as lineTo() or drawCircle()) use when drawing.

Parameters
Name Type Description
color Number

the color of the fill

alpha Number

the alpha of the fill

Returns
Inherited From
Source code: pixi/primitives/Graphics.js (Line 491)
doc_phaser
2017-02-14 10:49:38
Comments
Leave a Comment

Please login to continue.