Phaser API Documentation

  Version: 
fillStyle(color, [alpha])

Description:

Set the current fill style.

Parameters:

name type arguments Default description
color number

The fill color.

alpha number <optional> 1

The fill alpha.

Returns:
Description:

This Game Object.

Since: 3.0.0