phaser - v3.90.0
Preparing search index...
phaser
phaser
GameObjects
MeasureText
Function MeasureText
MeasureText
(
textStyle
:
GameObjects
.
TextStyle
)
:
TextMetrics
Calculates the ascent, descent and fontSize of a given font style.
Parameters
textStyle
:
GameObjects
.
TextStyle
The TextStyle object to measure.
Returns
TextMetrics
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
phaser - v3.90.0
Loading...
Calculates the ascent, descent and fontSize of a given font style.