Richard Davey
02c34cd64e
Replace integer with number
2020-11-23 10:22:13 +00:00
Richard Davey
f7af980b1e
Fixed version number
2020-07-13 13:01:41 +01:00
Michael Hadley
8285bcf44f
Fix spacing
2020-06-17 08:21:06 -05:00
Michael Hadley
a161aa58cc
Update TextStyle to have jsdocs for: wordWrapWidth, wordWrapUseAdvanced, wordWrapCallbackScope, wordWrapCallback
2020-06-17 07:53:23 -05:00
Richard Davey
ff65e69cd1
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
Richard Davey
0d8a9bb7ae
Fixed TextSyle typo. Fix #4630
2019-07-02 12:32:29 +01:00
Richard Davey
f5cae5a48b
Added in Text justification feature. Fix #4291
2019-06-19 09:46:32 +01:00
Richard Davey
ec6bbdeebd
Added typedefs for the Text Game Object. Fix #4551
2019-05-30 23:01:53 +01:00
Richard Davey
c91ed91ce3
License link update
2019-05-10 16:15:04 +01:00
Richard Davey
a6341a97a8
Fixed Types references
2019-05-09 15:32:53 +01:00
Richard Davey
c9bdb83941
GameObject and Loader typedefs
2019-02-13 13:57:59 +00:00
Richard Davey
eb9ed3463f
Lots of namespace and jsdoc fixes
2019-02-01 18:02:58 +00:00
Richard Davey
ea9678cc85
Removed TextStyle auto-quotes and added docs instead.
2019-01-22 14:02:25 +00:00
Richard Davey
aa341854c7
Happy New Year
2019-01-15 16:20:22 +00:00
Richard Davey
79dc611b95
Quote the font family in Text objects.
2019-01-12 16:31:48 +00:00
Taran van Groenigen
e181a98aa2
Fixed a mistake that would cause fontFamily to hold all font data when using the font shorthand & fixes photonstorm/phaser#4141
...
I noticed this while investigating photonstorm/phaser#4141
2018-11-22 09:40:10 +01:00
Richard Davey
c14fb4b764
Updated formatting.
2018-10-19 13:35:30 +01:00
Richard Davey
38743135eb
Merge pull request #4101 from DotTheGreat/TextStyle_setStyle-fix
...
Text style setStyle/setFont fix
2018-10-19 13:31:15 +01:00
Richard Davey
4b1c762296
Updated @memberOf to @memberof
2018-10-10 10:49:13 +01:00
Taran van Groenigen
c841adcba4
Removed whitespaces from empty lines
2018-10-09 11:50:21 +02:00
Taran van Groenigen
af664dc699
Removed two tabs
2018-10-09 11:32:52 +02:00
Taran van Groenigen
4e2bd36ca5
A string now uses the same default values as an object passed into setFont
2018-10-09 11:28:02 +02:00
Taran van Groenigen
9a2a0ad45f
TextStyle.setStyle & TextStyle.setFont now set fontSize, fontStyle & fontFamily when font is a string
...
TextStyle.setFont now sets fontFamily, fontSize, and fontStyle when "font" is a string.
TextStyle.setStyle calls TextStyle.setFont when "font" is overridden.
This fixes an issue where TextStyle.update(true) overrides TextStyle._font
2018-10-09 11:13:23 +02:00
Richard Davey
8b5d0a3af1
Text.setFont
, Text.setFontFamily
, Text.setFontStyle
and Text.setStroke
will no longer re-measure the parent Text object if their values have not changed.
2018-09-29 11:21:31 +01:00
Richard Davey
f285cf4854
Trim the font style
2018-09-13 13:23:11 +01:00
Richard Davey
5b98386677
Calling Text.setStyle
would make the Text vanish if you didn't provide a resolution
property in the style configuration object. Calling setStyle
now only changes the properties given in the object, leaving any previously changed properties as-is. Fix #4011
2018-09-04 22:43:25 +01:00
Richard Davey
14ba51d928
Added Text.setResolution methods.
2018-07-18 14:45:10 +01:00
Richard Davey
94540e112e
Text supports high dpi resolution for its internal canvas
2018-07-17 22:44:12 +01:00
Richard Davey
c8b058c26a
Renamed object to avoid TS defs conflict
2018-07-16 10:28:28 +01:00
Chris Andrew
9f23818c40
Documented various missing descriptions for GameObject classes and functions.
2018-06-20 07:28:02 +01:00
Chris Andrew
47fdf779d3
Switched to example annotations for the setStyle() examples.
2018-06-14 14:49:29 +01:00
Chris Andrew
885b404b98
Fixed the indentation of setStyle() examples.
2018-06-14 14:41:17 +01:00
Chris Andrew
a6b8b8ed31
Documented the Text game object and its TextStyle companion.
...
Minor update to JSON representation descriptions.
2018-06-14 14:27:58 +01:00
Richard Davey
28e2764723
More jsdoc fixes
2018-04-16 16:02:27 +01:00
orblazer
87633fdfad
Fix multiple types on GameObjects
2018-03-20 15:56:31 +01:00
orblazer
b4a30b8e43
Add callbacks on GameObjects
2018-03-19 22:27:16 +01:00
orblazer
90def456f2
Update JSDoc on GameObjects
2018-03-19 12:54:31 +01:00
Richard Davey
05a4385cd7
jsdoc fixes
2018-03-16 17:29:39 +00:00
Richard Davey
1d23aad976
TextStyle has two new properties: baselineX
and baselineY
which allow you to customize the 'magic' value used in calculating the text metrics.
2018-03-13 13:21:51 +00:00
Richard Davey
247e8b9337
Text.setFixedSize was incorrectly setting the text
property instead of the parent
property. Fix #3375
2018-03-12 16:34:21 +00:00
Richard Davey
70d9c7d728
Always return the parent Text object, no matter the flow
2018-03-12 16:13:42 +00:00
Richard Davey
fe5bd7e6bb
Fixed jsdoc errors
2018-02-21 22:51:05 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
40689d1e35
Updated jsdocs.
2018-02-07 15:27:21 +00:00
Richard Davey
8ae958037e
Added jsdocs
2018-02-07 02:46:11 +00:00
Richard Davey
650ae3cf5a
Added jsdocs
2018-02-07 00:18:22 +00:00
Richard Davey
d8f1ba03e9
Moved repository location
2018-01-09 21:43:56 +00:00