Phaser API Documentation

  Version: 
setFill(color)

Description:

Set the text fill color.

Parameters:

name type description
color string

The text fill color.

Returns:
Description:

The parent Text object.

Examples:
Since: 3.0.0