Text#cssFont

cssFont : string

Change the font used.

This is equivalent of the font property specified to setStyle, except
that unlike using setStyle this will not change any current font fill/color settings.

The CSS font string can also be individually altered with the font, fontSize, fontWeight, fontStyle, and fontVariant properties.

Source code: gameobjects/Text.js (Line 1682)
doc_phaser
2017-02-14 11:13:43
Comments
Leave a Comment

Please login to continue.