Phaser API Documentation

  Version: 
setBackgroundColor(color)

Description:

Set the background color.

Parameters:

name type description
color string

The background color.

Returns:
Description:

The parent Text object.

Examples:
Since: 3.0.0