escher.js 0.1.17 → 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 (163) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +337 -337
  3. package/build/escher.js +6592 -6562
  4. package/build/escher.min.js +1 -1
  5. package/build/escher.module.js +6592 -6562
  6. package/docs/AnimationTimer.html +3 -7
  7. package/docs/BarGraph.html +28 -98
  8. package/docs/BezierCurve.html +32 -112
  9. package/docs/Box.html +30 -104
  10. package/docs/Box2.html +8 -22
  11. package/docs/BoxMask.html +29 -103
  12. package/docs/Circle.html +30 -104
  13. package/docs/ColorStyle.html +4 -10
  14. package/docs/DOM.html +31 -109
  15. package/docs/EventManager.html +3 -7
  16. package/docs/EventManager.js.html +118 -118
  17. package/docs/FileUtils.html +3 -7
  18. package/docs/Gauge.html +28 -98
  19. package/docs/GradientColorStop.html +2 -4
  20. package/docs/GradientStyle.html +6 -16
  21. package/docs/Graph.html +29 -101
  22. package/docs/Helpers.html +3 -9
  23. package/docs/Image.html +28 -98
  24. package/docs/Key.html +1 -1
  25. package/docs/Line.html +31 -109
  26. package/docs/LinearGradientStyle.html +6 -18
  27. package/docs/Mask.html +29 -107
  28. package/docs/Matrix.html +4 -10
  29. package/docs/MultiLineText.html +32 -110
  30. package/docs/Node.html +31 -109
  31. package/docs/NodeConnector.html +31 -111
  32. package/docs/NodeGraph.html +29 -103
  33. package/docs/NodeSocket.html +44 -150
  34. package/docs/Object2D.html +31 -113
  35. package/docs/Object2D.js.html +743 -743
  36. package/docs/Path.html +31 -107
  37. package/docs/Pattern.html +31 -109
  38. package/docs/PatternStyle.html +7 -21
  39. package/docs/PieChart.html +29 -101
  40. package/docs/Pointer.html +8 -24
  41. package/docs/QuadraticCurve.html +30 -104
  42. package/docs/RadialGradientStyle.html +6 -18
  43. package/docs/Renderer.html +22 -54
  44. package/docs/Renderer.js.html +409 -401
  45. package/docs/RoundedBox.html +29 -101
  46. package/docs/ScatterGraph.html +27 -95
  47. package/docs/Stencil.js.html +65 -65
  48. package/docs/Style.html +4 -10
  49. package/docs/Text.html +30 -104
  50. package/docs/UUID.html +1 -1
  51. package/docs/Vector2.html +15 -31
  52. package/docs/Viewport.html +9 -27
  53. package/docs/Viewport.js.html +157 -157
  54. package/docs/ViewportControls.html +12 -38
  55. package/docs/controls_ViewportControls.js.html +200 -184
  56. package/docs/global.html +1 -1
  57. package/docs/index.html +1 -1
  58. package/docs/input_Key.js.html +111 -111
  59. package/docs/input_Pointer.js.html +441 -441
  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 +305 -305
  63. package/docs/math_Matrix.js.html +288 -288
  64. package/docs/math_UUID.js.html +39 -39
  65. package/docs/math_Vector2.js.html +489 -489
  66. package/docs/objects_BezierCurve.js.html +108 -108
  67. package/docs/objects_Box.js.html +104 -104
  68. package/docs/objects_Circle.js.html +102 -102
  69. package/docs/objects_DOM.js.html +132 -132
  70. package/docs/objects_Graph.js.html +181 -181
  71. package/docs/objects_Image.js.html +91 -91
  72. package/docs/objects_Line.js.html +107 -107
  73. package/docs/objects_MultiLineText.js.html +121 -121
  74. package/docs/objects_Path.js.html +94 -94
  75. package/docs/objects_Pattern.js.html +114 -114
  76. package/docs/objects_QuadraticCurve.js.html +91 -91
  77. package/docs/objects_RoundedBox.js.html +90 -90
  78. package/docs/objects_Text.js.html +123 -123
  79. package/docs/objects_chart_BarGraph.js.html +82 -82
  80. package/docs/objects_chart_Gauge.js.html +185 -185
  81. package/docs/objects_chart_Graph.js.html +148 -148
  82. package/docs/objects_chart_PieChart.js.html +163 -163
  83. package/docs/objects_chart_ScatterGraph.js.html +108 -108
  84. package/docs/objects_mask_BoxMask.js.html +66 -66
  85. package/docs/objects_mask_Mask.js.html +40 -40
  86. package/docs/objects_node_Node.js.html +189 -189
  87. package/docs/objects_node_NodeConnector.js.html +132 -126
  88. package/docs/objects_node_NodeGraph.js.html +61 -61
  89. package/docs/objects_node_NodeSocket.js.html +365 -365
  90. package/docs/objects_style_ColorStyle.js.html +46 -46
  91. package/docs/objects_style_GradientColorStop.js.html +28 -28
  92. package/docs/objects_style_GradientStyle.js.html +60 -60
  93. package/docs/objects_style_LinearGradientStyle.js.html +71 -71
  94. package/docs/objects_style_PatternStyle.js.html +97 -97
  95. package/docs/objects_style_RadialGradientStyle.js.html +90 -90
  96. package/docs/objects_style_Style.js.html +84 -84
  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 +71 -71
  100. package/docs/utils_EventManager.js.html +68 -68
  101. package/docs/utils_FileUtils.js.html +96 -96
  102. package/docs/utils_Helpers.js.html +113 -113
  103. package/examples/charts.html +123 -123
  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 -111
  113. package/examples/playground.html +301 -301
  114. package/examples/snake.html +251 -251
  115. package/examples/stress.html +93 -93
  116. package/package.json +33 -33
  117. package/rollup.config.js +26 -26
  118. package/rollup.dev.js +22 -22
  119. package/source/Escher.js +51 -51
  120. package/source/Object2D.js +742 -742
  121. package/source/Renderer.js +408 -400
  122. package/source/Viewport.js +156 -156
  123. package/source/controls/ViewportControls.js +199 -183
  124. package/source/input/Key.js +110 -110
  125. package/source/input/Pointer.js +440 -440
  126. package/source/math/Box2.js +304 -304
  127. package/source/math/Matrix.js +287 -287
  128. package/source/math/UUID.js +38 -38
  129. package/source/math/Vector2.js +488 -488
  130. package/source/objects/BezierCurve.js +107 -107
  131. package/source/objects/Box.js +103 -103
  132. package/source/objects/Circle.js +101 -101
  133. package/source/objects/DOM.js +131 -131
  134. package/source/objects/Image.js +90 -90
  135. package/source/objects/Line.js +106 -106
  136. package/source/objects/MultiLineText.js +120 -120
  137. package/source/objects/Path.js +93 -93
  138. package/source/objects/Pattern.js +113 -113
  139. package/source/objects/QuadraticCurve.js +90 -90
  140. package/source/objects/RoundedBox.js +89 -89
  141. package/source/objects/Text.js +122 -122
  142. package/source/objects/chart/BarGraph.js +81 -81
  143. package/source/objects/chart/Gauge.js +184 -184
  144. package/source/objects/chart/Graph.js +147 -147
  145. package/source/objects/chart/PieChart.js +162 -162
  146. package/source/objects/chart/ScatterGraph.js +107 -107
  147. package/source/objects/mask/BoxMask.js +65 -65
  148. package/source/objects/mask/Mask.js +39 -39
  149. package/source/objects/node/Node.js +188 -188
  150. package/source/objects/node/NodeConnector.js +131 -125
  151. package/source/objects/node/NodeGraph.js +60 -60
  152. package/source/objects/node/NodeSocket.js +364 -364
  153. package/source/objects/style/ColorStyle.js +45 -45
  154. package/source/objects/style/GradientColorStop.js +27 -27
  155. package/source/objects/style/GradientStyle.js +59 -59
  156. package/source/objects/style/LinearGradientStyle.js +70 -70
  157. package/source/objects/style/PatternStyle.js +96 -96
  158. package/source/objects/style/RadialGradientStyle.js +89 -89
  159. package/source/objects/style/Style.js +83 -83
  160. package/source/utils/AnimationTimer.js +70 -70
  161. package/source/utils/EventManager.js +67 -67
  162. package/source/utils/FileUtils.js +95 -95
  163. 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.