Phaser API Documentation

  Version: 
setText(value)

Description:

Set the textual content of this BitmapText.

An array of strings will be converted into multi-line text. Use the align methods to change multi-line alignment.

Parameters:

name type description
value string | Array.<string>

The string, or array of strings, to be set as the content of this BitmapText.

Returns:
Description:

This BitmapText Object.