Phaser API Documentation

  Version: 
TextMetrics

Description:

Font metrics for a Text Style object.

Properties:
name type description
ascent number

The ascent of the font.

descent number

The descent of the font.

fontSize number

The size of the font.

Type:
object
Since: 3.0.0