jmgraph 3.2.16 → 3.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +251 -428
  3. package/build/gulpfile.js +142 -142
  4. package/build/package-lock.json +10666 -0
  5. package/build/package.json +71 -71
  6. package/dev.js +9 -9
  7. package/dist/jmgraph.core.min.js +1 -1
  8. package/dist/jmgraph.core.min.js.map +1 -1
  9. package/dist/jmgraph.js +3500 -2668
  10. package/dist/jmgraph.min.js +1 -1
  11. package/example/ball.html +216 -216
  12. package/example/base.html +111 -111
  13. package/example/canvas.html +53 -53
  14. package/example/cell.html +283 -283
  15. package/example/controls/arc.html +128 -128
  16. package/example/controls/arrowline.html +77 -77
  17. package/example/controls/bezier.html +298 -298
  18. package/example/controls/img.html +96 -96
  19. package/example/controls/label.html +86 -86
  20. package/example/controls/line.html +172 -172
  21. package/example/controls/prismatic.html +62 -62
  22. package/example/controls/rect.html +63 -63
  23. package/example/controls/resize.html +111 -111
  24. package/example/controls/test.html +359 -359
  25. package/example/es.html +69 -69
  26. package/example/es5module.html +62 -63
  27. package/example/heartarc.html +115 -115
  28. package/example/index.html +46 -46
  29. package/example/js/require.js +4 -4
  30. package/example/love/img/bling/bling.tps +265 -265
  31. package/example/love/img/bling.json +87 -87
  32. package/example/love/img/bling.tps +295 -295
  33. package/example/love/img/love.json +95 -95
  34. package/example/love/img/love.tps +315 -315
  35. package/example/love/img/qq/qq.tps +399 -399
  36. package/example/love/img/qq.json +242 -242
  37. package/example/love/index.html +40 -40
  38. package/example/love/js/game.js +558 -558
  39. package/example/music.html +210 -210
  40. package/example/node/test.js +137 -137
  41. package/example/pdf.html +186 -186
  42. package/example/progress.html +172 -172
  43. package/example/pso.html +147 -147
  44. package/example/sort.html +804 -815
  45. package/example/tweenjs.html +83 -83
  46. package/example/webgl.html +278 -278
  47. package/example/xfj/index.html +331 -331
  48. package/example/xfj/shake.js +48 -48
  49. package/example/xfj/testori.html +75 -75
  50. package/index.js +99 -99
  51. package/package.json +58 -56
  52. package/src/core/jmControl.js +1376 -1531
  53. package/src/core/jmEvents.js +240 -281
  54. package/src/core/jmGradient.js +231 -231
  55. package/src/core/jmGraph.js +569 -569
  56. package/src/core/jmList.js +92 -157
  57. package/src/core/jmObject.js +83 -103
  58. package/src/core/jmPath.js +35 -35
  59. package/src/core/jmProperty.js +71 -110
  60. package/src/core/jmShadow.js +65 -65
  61. package/src/core/jmUtils.js +906 -919
  62. package/src/lib/earcut.js +680 -680
  63. package/src/lib/earcut.md +73 -73
  64. package/src/lib/webgl/base.js +522 -452
  65. package/src/lib/webgl/core/buffer.js +48 -48
  66. package/src/lib/webgl/core/mapSize.js +40 -40
  67. package/src/lib/webgl/core/mapType.js +43 -43
  68. package/src/lib/webgl/core/program.js +138 -138
  69. package/src/lib/webgl/core/shader.js +13 -13
  70. package/src/lib/webgl/core/texture.js +60 -60
  71. package/src/lib/webgl/gradient.js +168 -168
  72. package/src/lib/webgl/index.js +137 -11
  73. package/src/lib/webgl/path.js +568 -561
  74. package/src/shapes/jmArrowLine.js +36 -36
  75. package/src/shapes/jmImage.js +244 -244
  76. package/src/shapes/jmLabel.js +271 -271
  77. package/src/shapes/jmResize.js +332 -330
@@ -1,87 +1,87 @@
1
- {"frames": {
2
-
3
- "bling.png":
4
- {
5
- "frame": {"x":0,"y":0,"w":144,"h":143},
6
- "rotated": false,
7
- "trimmed": false,
8
- "spriteSourceSize": {"x":0,"y":0,"w":144,"h":143},
9
- "sourceSize": {"w":144,"h":143},
10
- "anchor": {"x":0.5,"y":0.5}
11
- },
12
- "f1.png":
13
- {
14
- "frame": {"x":0,"y":143,"w":200,"h":200},
15
- "rotated": false,
16
- "trimmed": false,
17
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
18
- "sourceSize": {"w":200,"h":200},
19
- "anchor": {"x":0.5,"y":0.5}
20
- },
21
- "f17.png":
22
- {
23
- "frame": {"x":0,"y":343,"w":200,"h":200},
24
- "rotated": false,
25
- "trimmed": false,
26
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
27
- "sourceSize": {"w":200,"h":200},
28
- "anchor": {"x":0.5,"y":0.5}
29
- },
30
- "f33.png":
31
- {
32
- "frame": {"x":0,"y":543,"w":200,"h":200},
33
- "rotated": false,
34
- "trimmed": false,
35
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
36
- "sourceSize": {"w":200,"h":200},
37
- "anchor": {"x":0.5,"y":0.5}
38
- },
39
- "f49.png":
40
- {
41
- "frame": {"x":0,"y":743,"w":200,"h":200},
42
- "rotated": false,
43
- "trimmed": false,
44
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
45
- "sourceSize": {"w":200,"h":200},
46
- "anchor": {"x":0.5,"y":0.5}
47
- },
48
- "f65.png":
49
- {
50
- "frame": {"x":0,"y":943,"w":200,"h":200},
51
- "rotated": false,
52
- "trimmed": false,
53
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
54
- "sourceSize": {"w":200,"h":200},
55
- "anchor": {"x":0.5,"y":0.5}
56
- },
57
- "f81.png":
58
- {
59
- "frame": {"x":0,"y":1143,"w":200,"h":200},
60
- "rotated": false,
61
- "trimmed": false,
62
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
63
- "sourceSize": {"w":200,"h":200},
64
- "anchor": {"x":0.5,"y":0.5}
65
- },
66
- "f97.png":
67
- {
68
- "frame": {"x":0,"y":1343,"w":200,"h":200},
69
- "rotated": false,
70
- "trimmed": false,
71
- "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
72
- "sourceSize": {"w":200,"h":200},
73
- "anchor": {"x":0.5,"y":0.5}
74
- }},
75
- "animations": {
76
- "f": ["f1.png","f17.png","f33.png","f49.png","f65.png","f81.png","f97.png"]
77
- },
78
- "meta": {
79
- "app": "https://www.codeandweb.com/texturepacker",
80
- "version": "1.0",
81
- "image": "img/bling.png?201902132001",
82
- "format": "RGBA8888",
83
- "size": {"w":200,"h":1543},
84
- "scale": "1",
85
- "smartupdate": "$TexturePacker:SmartUpdate:039bccd14886d80b484440eec94bd6cd:b21de643a586105525821b7e480f0993:0338f93aa40777344228faef84331fac$"
86
- }
87
- }
1
+ {"frames": {
2
+
3
+ "bling.png":
4
+ {
5
+ "frame": {"x":0,"y":0,"w":144,"h":143},
6
+ "rotated": false,
7
+ "trimmed": false,
8
+ "spriteSourceSize": {"x":0,"y":0,"w":144,"h":143},
9
+ "sourceSize": {"w":144,"h":143},
10
+ "anchor": {"x":0.5,"y":0.5}
11
+ },
12
+ "f1.png":
13
+ {
14
+ "frame": {"x":0,"y":143,"w":200,"h":200},
15
+ "rotated": false,
16
+ "trimmed": false,
17
+ "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
18
+ "sourceSize": {"w":200,"h":200},
19
+ "anchor": {"x":0.5,"y":0.5}
20
+ },
21
+ "f17.png":
22
+ {
23
+ "frame": {"x":0,"y":343,"w":200,"h":200},
24
+ "rotated": false,
25
+ "trimmed": false,
26
+ "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
27
+ "sourceSize": {"w":200,"h":200},
28
+ "anchor": {"x":0.5,"y":0.5}
29
+ },
30
+ "f33.png":
31
+ {
32
+ "frame": {"x":0,"y":543,"w":200,"h":200},
33
+ "rotated": false,
34
+ "trimmed": false,
35
+ "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
36
+ "sourceSize": {"w":200,"h":200},
37
+ "anchor": {"x":0.5,"y":0.5}
38
+ },
39
+ "f49.png":
40
+ {
41
+ "frame": {"x":0,"y":743,"w":200,"h":200},
42
+ "rotated": false,
43
+ "trimmed": false,
44
+ "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
45
+ "sourceSize": {"w":200,"h":200},
46
+ "anchor": {"x":0.5,"y":0.5}
47
+ },
48
+ "f65.png":
49
+ {
50
+ "frame": {"x":0,"y":943,"w":200,"h":200},
51
+ "rotated": false,
52
+ "trimmed": false,
53
+ "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
54
+ "sourceSize": {"w":200,"h":200},
55
+ "anchor": {"x":0.5,"y":0.5}
56
+ },
57
+ "f81.png":
58
+ {
59
+ "frame": {"x":0,"y":1143,"w":200,"h":200},
60
+ "rotated": false,
61
+ "trimmed": false,
62
+ "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
63
+ "sourceSize": {"w":200,"h":200},
64
+ "anchor": {"x":0.5,"y":0.5}
65
+ },
66
+ "f97.png":
67
+ {
68
+ "frame": {"x":0,"y":1343,"w":200,"h":200},
69
+ "rotated": false,
70
+ "trimmed": false,
71
+ "spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
72
+ "sourceSize": {"w":200,"h":200},
73
+ "anchor": {"x":0.5,"y":0.5}
74
+ }},
75
+ "animations": {
76
+ "f": ["f1.png","f17.png","f33.png","f49.png","f65.png","f81.png","f97.png"]
77
+ },
78
+ "meta": {
79
+ "app": "https://www.codeandweb.com/texturepacker",
80
+ "version": "1.0",
81
+ "image": "img/bling.png?201902132001",
82
+ "format": "RGBA8888",
83
+ "size": {"w":200,"h":1543},
84
+ "scale": "1",
85
+ "smartupdate": "$TexturePacker:SmartUpdate:039bccd14886d80b484440eec94bd6cd:b21de643a586105525821b7e480f0993:0338f93aa40777344228faef84331fac$"
86
+ }
87
+ }