Phaser API Documentation

  Version: 
setFontStyle(style)

Description:

Set the font style.

Parameters:

name type description
style string

The font style.

Returns:
Description:

The parent Text object.

Examples:
Since: 3.0.0