escher.js 0.1.15 → 0.1.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 (164) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +337 -321
  3. package/build/escher.js +6600 -5918
  4. package/build/escher.min.js +1 -1
  5. package/build/escher.module.js +6595 -5917
  6. package/docs/AnimationTimer.html +4 -8
  7. package/docs/BarGraph.html +5238 -0
  8. package/docs/BezierCurve.html +64 -140
  9. package/docs/Box.html +114 -146
  10. package/docs/Box2.html +182 -48
  11. package/docs/BoxMask.html +57 -129
  12. package/docs/Circle.html +81 -143
  13. package/docs/ColorStyle.html +12 -12
  14. package/docs/DOM.html +71 -135
  15. package/docs/EventManager.html +4 -8
  16. package/docs/EventManager.js.html +118 -118
  17. package/docs/FileUtils.html +4 -8
  18. package/docs/Gauge.html +67 -135
  19. package/docs/GradientColorStop.html +6 -8
  20. package/docs/GradientStyle.html +12 -18
  21. package/docs/Graph.html +142 -142
  22. package/docs/Helpers.html +4 -10
  23. package/docs/Image.html +81 -129
  24. package/docs/Key.html +2 -2
  25. package/docs/Line.html +59 -135
  26. package/docs/LinearGradientStyle.html +12 -20
  27. package/docs/Mask.html +57 -133
  28. package/docs/Matrix.html +23 -29
  29. package/docs/MultiLineText.html +60 -136
  30. package/docs/Node.html +107 -143
  31. package/docs/NodeConnector.html +65 -143
  32. package/docs/NodeGraph.html +57 -129
  33. package/docs/NodeSocket.html +99 -193
  34. package/docs/Object2D.html +61 -141
  35. package/docs/Object2D.js.html +744 -741
  36. package/docs/Path.html +5444 -0
  37. package/docs/Pattern.html +59 -135
  38. package/docs/PatternStyle.html +13 -23
  39. package/docs/PieChart.html +5598 -0
  40. package/docs/Pointer.html +9 -25
  41. package/docs/QuadraticCurve.html +61 -131
  42. package/docs/RadialGradientStyle.html +12 -20
  43. package/docs/Renderer.html +94 -52
  44. package/docs/Renderer.js.html +410 -381
  45. package/docs/RoundedBox.html +105 -135
  46. package/docs/ScatterGraph.html +5310 -0
  47. package/docs/Stencil.js.html +65 -65
  48. package/docs/Style.html +13 -15
  49. package/docs/Text.html +58 -130
  50. package/docs/UUID.html +2 -2
  51. package/docs/Vector2.html +1310 -231
  52. package/docs/Viewport.html +183 -41
  53. package/docs/Viewport.js.html +158 -119
  54. package/docs/ViewportControls.html +308 -32
  55. package/docs/controls_ViewportControls.js.html +201 -142
  56. package/docs/global.html +2 -2
  57. package/docs/index.html +2 -2
  58. package/docs/input_Key.js.html +112 -112
  59. package/docs/input_Pointer.js.html +442 -443
  60. package/docs/mask_BoxMask.js.html +109 -109
  61. package/docs/mask_Mask.js.html +84 -84
  62. package/docs/math_Box2.js.html +306 -295
  63. package/docs/math_Matrix.js.html +289 -285
  64. package/docs/math_UUID.js.html +40 -40
  65. package/docs/math_Vector2.js.html +490 -435
  66. package/docs/objects_BezierCurve.js.html +109 -107
  67. package/docs/objects_Box.js.html +105 -109
  68. package/docs/objects_Circle.js.html +103 -111
  69. package/docs/objects_DOM.js.html +133 -129
  70. package/docs/objects_Graph.js.html +181 -181
  71. package/docs/objects_Image.js.html +92 -88
  72. package/docs/objects_Line.js.html +108 -108
  73. package/docs/objects_MultiLineText.js.html +122 -122
  74. package/docs/objects_Path.js.html +144 -0
  75. package/docs/objects_Pattern.js.html +115 -115
  76. package/docs/objects_QuadraticCurve.js.html +92 -90
  77. package/docs/objects_RoundedBox.js.html +91 -91
  78. package/docs/objects_Text.js.html +124 -124
  79. package/docs/objects_chart_BarGraph.js.html +132 -0
  80. package/docs/objects_chart_Gauge.js.html +186 -169
  81. package/docs/objects_chart_Graph.js.html +149 -133
  82. package/docs/objects_chart_PieChart.js.html +213 -0
  83. package/docs/objects_chart_ScatterGraph.js.html +158 -0
  84. package/docs/objects_mask_BoxMask.js.html +67 -67
  85. package/docs/objects_mask_Mask.js.html +41 -41
  86. package/docs/objects_node_Node.js.html +190 -190
  87. package/docs/objects_node_NodeConnector.js.html +133 -122
  88. package/docs/objects_node_NodeGraph.js.html +62 -62
  89. package/docs/objects_node_NodeSocket.js.html +366 -364
  90. package/docs/objects_style_ColorStyle.js.html +47 -45
  91. package/docs/objects_style_GradientColorStop.js.html +29 -28
  92. package/docs/objects_style_GradientStyle.js.html +61 -61
  93. package/docs/objects_style_LinearGradientStyle.js.html +72 -72
  94. package/docs/objects_style_PatternStyle.js.html +98 -98
  95. package/docs/objects_style_RadialGradientStyle.js.html +91 -91
  96. package/docs/objects_style_Style.js.html +85 -83
  97. package/docs/stencil_BoxStencil.js.html +103 -103
  98. package/docs/stencil_Stencil.js.html +84 -84
  99. package/docs/utils_AnimationTimer.js.html +72 -72
  100. package/docs/utils_EventManager.js.html +69 -69
  101. package/docs/utils_FileUtils.js.html +97 -97
  102. package/docs/utils_Helpers.js.html +114 -114
  103. package/examples/charts.html +123 -0
  104. package/examples/helloworld.html +52 -52
  105. package/examples/lib/p2.min.js +26 -26
  106. package/examples/lib/pdf.js +19364 -19364
  107. package/examples/lib/pdf.worker.js +47056 -47056
  108. package/examples/lib/tiff.min.js +3189 -3189
  109. package/examples/mask.html +91 -91
  110. package/examples/node.html +244 -244
  111. package/examples/pdftiff.html +144 -144
  112. package/examples/physics.html +111 -112
  113. package/examples/playground.html +301 -297
  114. package/examples/snake.html +251 -251
  115. package/examples/stress.html +93 -93
  116. package/package.json +33 -33
  117. package/readme/graphs.png +0 -0
  118. package/rollup.config.js +26 -26
  119. package/rollup.dev.js +22 -22
  120. package/source/Escher.js +51 -47
  121. package/source/Object2D.js +742 -739
  122. package/source/Renderer.js +408 -379
  123. package/source/Viewport.js +156 -117
  124. package/source/controls/ViewportControls.js +199 -140
  125. package/source/input/Key.js +110 -110
  126. package/source/input/Pointer.js +440 -441
  127. package/source/math/Box2.js +304 -293
  128. package/source/math/Matrix.js +287 -283
  129. package/source/math/UUID.js +38 -38
  130. package/source/math/Vector2.js +488 -433
  131. package/source/objects/BezierCurve.js +107 -105
  132. package/source/objects/Box.js +103 -107
  133. package/source/objects/Circle.js +101 -109
  134. package/source/objects/DOM.js +131 -127
  135. package/source/objects/Image.js +90 -86
  136. package/source/objects/Line.js +106 -106
  137. package/source/objects/MultiLineText.js +120 -120
  138. package/source/objects/Path.js +93 -0
  139. package/source/objects/Pattern.js +113 -113
  140. package/source/objects/QuadraticCurve.js +90 -88
  141. package/source/objects/RoundedBox.js +89 -89
  142. package/source/objects/Text.js +122 -122
  143. package/source/objects/chart/BarGraph.js +81 -0
  144. package/source/objects/chart/Gauge.js +184 -167
  145. package/source/objects/chart/Graph.js +147 -131
  146. package/source/objects/chart/PieChart.js +162 -0
  147. package/source/objects/chart/ScatterGraph.js +107 -0
  148. package/source/objects/mask/BoxMask.js +65 -65
  149. package/source/objects/mask/Mask.js +39 -39
  150. package/source/objects/node/Node.js +188 -188
  151. package/source/objects/node/NodeConnector.js +131 -120
  152. package/source/objects/node/NodeGraph.js +60 -60
  153. package/source/objects/node/NodeSocket.js +364 -362
  154. package/source/objects/style/ColorStyle.js +45 -43
  155. package/source/objects/style/GradientColorStop.js +27 -26
  156. package/source/objects/style/GradientStyle.js +59 -59
  157. package/source/objects/style/LinearGradientStyle.js +70 -70
  158. package/source/objects/style/PatternStyle.js +96 -96
  159. package/source/objects/style/RadialGradientStyle.js +89 -89
  160. package/source/objects/style/Style.js +83 -81
  161. package/source/utils/AnimationTimer.js +70 -70
  162. package/source/utils/EventManager.js +67 -67
  163. package/source/utils/FileUtils.js +95 -95
  164. package/source/utils/Helpers.js +112 -112
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Tentone
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Tentone
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.