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