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
Source code: pixi/primitives/Graphics.js (Line 491)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.