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