Commit graph

41 commits

Author SHA1 Message Date
Richard Davey
c7d66ded23 Corrected docs 2022-08-24 13:55:53 +01:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Neil Haskins
6ec5868f3a
Update RGBToString.js
Prevent adding decimal places behind RGB string with '#' prefix.
2021-03-02 11:30:38 -08:00
Richard Davey
57e6246c52 Added limit parameter 2020-11-30 16:12:55 +00:00
Richard Davey
aec06f1873 Added ColorSpectrum function 2020-11-24 11:00:04 +00:00
Richard Davey
02c34cd64e Replace integer with number 2020-11-23 10:22:13 +00:00
Richard Davey
0f6cc79cd1 The function GetColorFromValue has been removed as it's no longer used internally. 2020-09-14 11:05:32 +01:00
Richard Davey
506426f706 The Color.HSVToRGB function has been rewritten to use the HSL and HSV formula from Wikipedia, giving much better results. Fix #5089 2020-09-01 18:06:23 +01:00
Richard Davey
0402717834 Expose new function 2020-08-03 10:49:27 +01:00
Richard Davey
6a32ff56f3 Display.Color.GetColorFromValue is a new function that will take a hex color value and return it as an integer, for use in WebGL. This is now used internally by the Tint component and other classes. 2020-08-03 10:48:52 +01:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Josh Soref
3abbb13de5 spelling: formula 2019-10-29 02:19:05 -04:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
dc3b3ecb03 Display Types 2019-05-09 11:53:08 +01:00
Richard Davey
e7b1d086e7 Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
2019-02-13 12:35:12 +00:00
Richard Davey
60542a25cc Numerous jsdoc and TS related fixes 2019-02-04 17:16:08 +00:00
Richard Davey
eb9ed3463f Lots of namespace and jsdoc fixes 2019-02-01 18:02:58 +00:00
Richard Davey
348306cafb Lots more jsdoc fixes and new documentation 2019-01-31 14:47:50 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
a9063604dc Replace @readOnly with @readonly 2018-10-09 13:40:00 +01:00
Richard Davey
c873679d97 Added hsv values, setFromHSV, udpateHSV, darken, lighten, brighten, saturate and desature methods. 2018-09-10 11:29:28 +01:00
Richard Davey
fccd58b097 The HSVToRGB function can now take an optional out argument, which is either a HSVColorObject or a Color object, and the results will be set into that object instead of creating a new one. 2018-09-10 11:22:04 +01:00
Richard Davey
664d5efc7b The RGBToHSV function can now take an optional out argument, which is either a HSVColorObject or a Color object, and the results will be set into that object instead of creating a new one. 2018-09-10 11:21:36 +01:00
Richard Davey
7aa46657c2 Tidying up jsdocs and changing float to number 2018-06-26 23:19:14 +01:00
Richard Davey
15b544fc46 jsdoc fixes 2018-06-13 08:37:40 +01:00
Richard Davey
3f722ba34a Fixed color namespace 2018-04-16 15:25:29 +01:00
jdotrjs
562402e440 [fixes #3482] HueToComponent was not correctly exporting itself
Pretty self explanatory -- `module.export` is a typo, needed to be `exports`. Filed associated bug #3482.
2018-03-30 16:25:59 -07:00
orblazer
ed1f2a7011 Fix wrong types 2018-03-22 13:51:30 +01:00
orblazer
37b6fc5862 Fix many multiple types 2018-03-20 15:58:02 +01:00
orblazer
94d92910cb Update JSDoc on Display (object types) 2018-03-19 16:22:51 +01:00
Richard Davey
3b8da57008 jsdoc fixes 2018-03-16 17:38:15 +00:00
Richard Davey
33cbb067b4 Phaser.Display.Color.Interpolate would return NaN values because it was loading the wrong Linear function. Fix #3372 2018-03-12 13:41:09 +00:00
Richard Davey
ae3cd50356 Fixed jsdocs 2018-02-12 21:39:26 +00:00
Richard Davey
08a968f5ec Added jsdocs 2018-02-12 21:15:15 +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
2a86400a28 Added in jsdocs 2018-01-31 13:54:44 +00:00
Richard Davey
00382bf059 Added jsdocs. 2018-01-26 02:20:33 +00:00
Richard Davey
8b8601b464 Working through color docs 2018-01-25 17:29:17 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00