mirror of
https://github.com/photonstorm/phaser
synced 2025-02-26 04:17:08 +00:00
Fulfills: https://github.com/photonstorm/phaser/issues/1370 This allows `fontSize` and `fontWeight` to be specified as part of the style as supplied to the Text constructor (and `setStyle` method). In addition the `fontStyle` and `fontVariant` properties can also be set - although these are not exposed later. This also fixes edge cases that could be caused if `Text#fontSize` was used without `Text#fontWeight`, where the applied style defaults would be overwritten/reset. |
||
---|---|---|
.. | ||
animation | ||
core | ||
gameobjects | ||
geom | ||
input | ||
loader | ||
math | ||
net | ||
particles | ||
physics | ||
pixi | ||
sound | ||
system | ||
tilemap | ||
time | ||
tween | ||
utils | ||
Intro.js | ||
Outro.js | ||
Phaser.js | ||
polyfills.js |