Phaser API Documentation

  Version: 
setFontSize(size)

Description:

Set the font size.

Parameters:

name type description
size number | string

The font size.

Returns:
Description:

The parent Text object.

Examples:
Since: 3.0.0