Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.TextStyle
fontSize: string | number
Description:
The font size.
Type:
string | number
Default:
'16px'
Since:
3.0.0
Source:
src/gameobjects/text/TextStyle.js
(Line
84
)
Possible examples