fontSize : number | string
The size of the font.
If the font size is specified in pixels (eg. 32
or '32px
') then a number (ie. 32
) representing
the font size in pixels is returned; otherwise the value with CSS unit is returned as a string (eg. '12pt'
).
Type
- number | string
- Source code: gameobjects/Text.js (Line 1743)
Please login to continue.