tentone 6 years ago
parent
commit
e215a66724
59 changed files with 34721 additions and 123 deletions
  1. 9 0
      build/escher.js
  2. 9 0
      build/escher.module.js
  3. 1 1
      docs/BezierCurve.html
  4. 3556 9
      docs/Box.html
  5. 1 1
      docs/Box2.html
  6. 3326 1
      docs/BoxMask.html
  7. 3558 11
      docs/Circle.html
  8. 3555 8
      docs/DOM.html
  9. 1 1
      docs/EventManager.html
  10. 1 1
      docs/EventManager.js.html
  11. 3563 16
      docs/Graph.html
  12. 1 1
      docs/Helpers.html
  13. 3318 1
      docs/Image.html
  14. 1 1
      docs/Key.html
  15. 3559 12
      docs/Line.html
  16. 3096 1
      docs/Mask.html
  17. 1 1
      docs/Matrix.html
  18. 1 1
      docs/Object2D.html
  19. 1 1
      docs/Object2D.js.html
  20. 3554 11
      docs/Pattern.html
  21. 1 1
      docs/Pointer.html
  22. 1 1
      docs/Renderer.html
  23. 1 1
      docs/Renderer.js.html
  24. 3562 15
      docs/Text.html
  25. 1 1
      docs/UUID.html
  26. 1 1
      docs/Vector2.html
  27. 1 1
      docs/Viewport.html
  28. 1 1
      docs/Viewport.js.html
  29. 1 1
      docs/ViewportControls.html
  30. 1 1
      docs/controls_ViewportControls.js.html
  31. 1 1
      docs/index.html
  32. 1 1
      docs/input_Key.js.html
  33. 1 1
      docs/input_Pointer.js.html
  34. 1 1
      docs/math_Box2.js.html
  35. 1 1
      docs/math_Matrix.js.html
  36. 1 1
      docs/math_UUID.js.html
  37. 1 1
      docs/math_Vector2.js.html
  38. 1 1
      docs/objects_BezierCurve.js.html
  39. 2 1
      docs/objects_Box.js.html
  40. 2 1
      docs/objects_Circle.js.html
  41. 2 1
      docs/objects_DOM.js.html
  42. 2 1
      docs/objects_Graph.js.html
  43. 2 1
      docs/objects_Image.js.html
  44. 2 1
      docs/objects_Line.js.html
  45. 2 1
      docs/objects_Pattern.js.html
  46. 2 1
      docs/objects_Text.js.html
  47. 1 1
      docs/objects_mask_BoxMask.js.html
  48. 2 1
      docs/objects_mask_Mask.js.html
  49. 1 1
      docs/utils_Helpers.js.html
  50. 1 1
      package.json
  51. 1 0
      source/objects/Box.js
  52. 1 0
      source/objects/Circle.js
  53. 1 0
      source/objects/DOM.js
  54. 1 0
      source/objects/Graph.js
  55. 1 0
      source/objects/Image.js
  56. 1 0
      source/objects/Line.js
  57. 1 0
      source/objects/Pattern.js
  58. 1 0
      source/objects/Text.js
  59. 1 0
      source/objects/mask/Mask.js

+ 9 - 0
build/escher.js

@@ -2474,6 +2474,7 @@
 	 * A mask objects is draw using the context.clip() method.
 	 *
 	 * @class
+	 * @extends {Object2D}
 	 */
 	function Mask()
 	{
@@ -2551,6 +2552,7 @@
 	 * Can be used as a base to implement other circular objects, already implements the circle collision for pointer events.
 	 *
 	 * @class
+	 * @extends {Object2D}
 	 */
 	function Circle()
 	{
@@ -2731,6 +2733,7 @@
 	 * Can be used as a base to implement other box objects, already implements collision for pointer events.
 	 *
 	 * @class
+	 * @extends {Object2D}
 	 */
 	function Box()
 	{
@@ -2801,6 +2804,7 @@
 	 * Line object draw a line from one point to another.
 	 *
 	 * @class
+	 * @extends {Object2D}
 	 */
 	function Line()
 	{
@@ -2858,6 +2862,7 @@
 	 * Text element, used to draw text into the canvas.
 	 *
 	 * @class
+	 * @extends {Object2D}
 	 */
 	function Text()
 	{
@@ -2924,6 +2929,7 @@
 	 *
 	 * @class
 	 * @param {string} [src] Source URL of the image.
+	 * @extends {Object2D}
 	 */
 	function Image(src)
 	{
@@ -2989,6 +2995,7 @@
 	 * @class
 	 * @param parentDOM Parent DOM element that contains the drawing canvas.
 	 * @param type Type of the DOM element (e.g. "div", "p", ...)
+	 * @extends {Object2D}
 	 */
 	function DOM(parentDOM, type)
 	{
@@ -3052,6 +3059,7 @@
 	 * Its similar to the Image class but the image can be repeat infinitly.
 	 *
 	 * @class
+	 * @extends {Object2D}
 	 */
 	function Pattern(src)
 	{
@@ -3122,6 +3130,7 @@
 	 * Graph data is composed of X, Y values.
 	 *
 	 * @class
+	 * @extends {Object2D}
 	 */
 	function Graph()
 	{

+ 9 - 0
build/escher.module.js

@@ -2468,6 +2468,7 @@ Box2.prototype.equals = function(box)
  * A mask objects is draw using the context.clip() method.
  *
  * @class
+ * @extends {Object2D}
  */
 function Mask()
 {
@@ -2545,6 +2546,7 @@ BoxMask.prototype.clip = function(context, viewport, canvas)
  * Can be used as a base to implement other circular objects, already implements the circle collision for pointer events.
  *
  * @class
+ * @extends {Object2D}
  */
 function Circle()
 {
@@ -2725,6 +2727,7 @@ Helpers.boxResizeTool = function(object)
  * Can be used as a base to implement other box objects, already implements collision for pointer events.
  *
  * @class
+ * @extends {Object2D}
  */
 function Box()
 {
@@ -2795,6 +2798,7 @@ Box.prototype.draw = function(context, viewport, canvas)
  * Line object draw a line from one point to another.
  *
  * @class
+ * @extends {Object2D}
  */
 function Line()
 {
@@ -2852,6 +2856,7 @@ Line.prototype.draw = function(context, viewport, canvas)
  * Text element, used to draw text into the canvas.
  *
  * @class
+ * @extends {Object2D}
  */
 function Text()
 {
@@ -2918,6 +2923,7 @@ Text.prototype.draw = function(context, viewport, canvas)
  *
  * @class
  * @param {string} [src] Source URL of the image.
+ * @extends {Object2D}
  */
 function Image(src)
 {
@@ -2983,6 +2989,7 @@ Image.prototype.draw = function(context, viewport, canvas)
  * @class
  * @param parentDOM Parent DOM element that contains the drawing canvas.
  * @param type Type of the DOM element (e.g. "div", "p", ...)
+ * @extends {Object2D}
  */
 function DOM(parentDOM, type)
 {
@@ -3046,6 +3053,7 @@ DOM.prototype.transform = function(context, viewport, canvas)
  * Its similar to the Image class but the image can be repeat infinitly.
  *
  * @class
+ * @extends {Object2D}
  */
 function Pattern(src)
 {
@@ -3116,6 +3124,7 @@ Pattern.prototype.draw = function(context, viewport, canvas)
  * Graph data is composed of X, Y values.
  *
  * @class
+ * @extends {Object2D}
  */
 function Graph()
 {

+ 1 - 1
docs/BezierCurve.html

@@ -691,7 +691,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

File diff suppressed because it is too large
+ 3556 - 9
docs/Box.html


+ 1 - 1
docs/Box2.html

@@ -3010,7 +3010,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

File diff suppressed because it is too large
+ 3326 - 1
docs/BoxMask.html


File diff suppressed because it is too large
+ 3558 - 11
docs/Circle.html


File diff suppressed because it is too large
+ 3555 - 8
docs/DOM.html


+ 1 - 1
docs/EventManager.html

@@ -688,7 +688,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/EventManager.js.html

@@ -111,7 +111,7 @@ export {EventManager};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

File diff suppressed because it is too large
+ 3563 - 16
docs/Graph.html


+ 1 - 1
docs/Helpers.html

@@ -341,7 +341,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

File diff suppressed because it is too large
+ 3318 - 1
docs/Image.html


+ 1 - 1
docs/Key.html

@@ -619,7 +619,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

File diff suppressed because it is too large
+ 3559 - 12
docs/Line.html


File diff suppressed because it is too large
+ 3096 - 1
docs/Mask.html


+ 1 - 1
docs/Matrix.html

@@ -2453,7 +2453,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/Object2D.html

@@ -3496,7 +3496,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/Object2D.js.html

@@ -444,7 +444,7 @@ export {Object2D};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

File diff suppressed because it is too large
+ 3554 - 11
docs/Pattern.html


+ 1 - 1
docs/Pointer.html

@@ -2560,7 +2560,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/Renderer.html

@@ -832,7 +832,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/Renderer.js.html

@@ -340,7 +340,7 @@ export {Renderer};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

File diff suppressed because it is too large
+ 3562 - 15
docs/Text.html


+ 1 - 1
docs/UUID.html

@@ -227,7 +227,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/Vector2.html

@@ -4679,7 +4679,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/Viewport.html

@@ -1086,7 +1086,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/Viewport.js.html

@@ -160,7 +160,7 @@ export {Viewport};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/ViewportControls.html

@@ -789,7 +789,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/controls_ViewportControls.js.html

@@ -169,7 +169,7 @@ export {ViewportControls};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/index.html

@@ -56,7 +56,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/input_Key.js.html

@@ -126,7 +126,7 @@ export {Key};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/input_Pointer.js.html

@@ -447,7 +447,7 @@ export {Pointer};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/math_Box2.js.html

@@ -316,7 +316,7 @@ export {Box2};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/math_Matrix.js.html

@@ -297,7 +297,7 @@ export {Matrix};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/math_UUID.js.html

@@ -83,7 +83,7 @@ export {UUID};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/math_Vector2.js.html

@@ -485,7 +485,7 @@ export {Vector2};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/objects_BezierCurve.js.html

@@ -157,7 +157,7 @@ export {BezierCurve};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_Box.js.html

@@ -40,6 +40,7 @@ import {Circle} from "./Circle.js";
  * Can be used as a base to implement other box objects, already implements collision for pointer events.
  *
  * @class
+ * @extends {Object2D}
  */
 function Box()
 {
@@ -123,7 +124,7 @@ export {Box};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_Circle.js.html

@@ -37,6 +37,7 @@ import {Vector2} from "../math/Vector2.js";
  * Can be used as a base to implement other circular objects, already implements the circle collision for pointer events.
  *
  * @class
+ * @extends {Object2D}
  */
 function Circle()
 {
@@ -119,7 +120,7 @@ export {Circle};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_DOM.js.html

@@ -41,6 +41,7 @@ import {Vector2} from "../math/Vector2.js";
  * @class
  * @param parentDOM Parent DOM element that contains the drawing canvas.
  * @param type Type of the DOM element (e.g. "div", "p", ...)
+ * @extends {Object2D}
  */
 function DOM(parentDOM, type)
 {
@@ -114,7 +115,7 @@ export {DOM};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_Graph.js.html

@@ -40,6 +40,7 @@ import {Circle} from "./Circle.js";
  * Graph data is composed of X, Y values.
  *
  * @class
+ * @extends {Object2D}
  */
 function Graph()
 {
@@ -143,7 +144,7 @@ export {Graph};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_Image.js.html

@@ -37,6 +37,7 @@ import {Vector2} from "../math/Vector2.js";
  *
  * @class
  * @param {string} [src] Source URL of the image.
+ * @extends {Object2D}
  */
 function Image(src)
 {
@@ -109,7 +110,7 @@ export {Image};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_Line.js.html

@@ -35,6 +35,7 @@ import {Vector2} from "../math/Vector2.js";
  * Line object draw a line from one point to another.
  *
  * @class
+ * @extends {Object2D}
  */
 function Line()
 {
@@ -105,7 +106,7 @@ export {Line};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_Pattern.js.html

@@ -40,6 +40,7 @@ import {Circle} from "./Circle.js";
  * Its similar to the Image class but the image can be repeat infinitly.
  *
  * @class
+ * @extends {Object2D}
  */
 function Pattern(src)
 {
@@ -121,7 +122,7 @@ export {Pattern};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_Text.js.html

@@ -34,6 +34,7 @@ import {Object2D} from "../Object2D.js";
  * Text element, used to draw text into the canvas.
  *
  * @class
+ * @extends {Object2D}
  */
 function Text()
 {
@@ -112,7 +113,7 @@ export {Text};
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/objects_mask_BoxMask.js.html

@@ -100,7 +100,7 @@ export {BoxMask};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 2 - 1
docs/objects_mask_Mask.js.html

@@ -42,6 +42,7 @@ import {Box2} from "../../math/Box2.js";
  * A mask objects is draw using the context.clip() method.
  *
  * @class
+ * @extends {Object2D}
  */
 function Mask()
 {
@@ -77,7 +78,7 @@ export {Mask};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
docs/utils_Helpers.js.html

@@ -155,7 +155,7 @@ export {Helpers};</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:48:10 GMT+0100 (Western European Summer Time)
+    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Jun 19 2019 12:10:13 GMT+0100 (Western European Summer Time)
 </footer>
 
 <script> prettyPrint(); </script>

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 	"name": "escher.js",
-	"version": "0.1.4",
+	"version": "0.1.5",
 	"description": "escher.js is a web library for building interactive diagrams and graphs.",
 	"main": "build/escher.min.js",
 	"repository": {

+ 1 - 0
source/objects/Box.js

@@ -12,6 +12,7 @@ import {Circle} from "./Circle.js";
  * Can be used as a base to implement other box objects, already implements collision for pointer events.
  *
  * @class
+ * @extends {Object2D}
  */
 function Box()
 {

+ 1 - 0
source/objects/Circle.js

@@ -9,6 +9,7 @@ import {Vector2} from "../math/Vector2.js";
  * Can be used as a base to implement other circular objects, already implements the circle collision for pointer events.
  *
  * @class
+ * @extends {Object2D}
  */
 function Circle()
 {

+ 1 - 0
source/objects/DOM.js

@@ -13,6 +13,7 @@ import {Vector2} from "../math/Vector2.js";
  * @class
  * @param parentDOM Parent DOM element that contains the drawing canvas.
  * @param type Type of the DOM element (e.g. "div", "p", ...)
+ * @extends {Object2D}
  */
 function DOM(parentDOM, type)
 {

+ 1 - 0
source/objects/Graph.js

@@ -12,6 +12,7 @@ import {Circle} from "./Circle.js";
  * Graph data is composed of X, Y values.
  *
  * @class
+ * @extends {Object2D}
  */
 function Graph()
 {

+ 1 - 0
source/objects/Image.js

@@ -9,6 +9,7 @@ import {Vector2} from "../math/Vector2.js";
  *
  * @class
  * @param {string} [src] Source URL of the image.
+ * @extends {Object2D}
  */
 function Image(src)
 {

+ 1 - 0
source/objects/Line.js

@@ -7,6 +7,7 @@ import {Vector2} from "../math/Vector2.js";
  * Line object draw a line from one point to another.
  *
  * @class
+ * @extends {Object2D}
  */
 function Line()
 {

+ 1 - 0
source/objects/Pattern.js

@@ -12,6 +12,7 @@ import {Circle} from "./Circle.js";
  * Its similar to the Image class but the image can be repeat infinitly.
  *
  * @class
+ * @extends {Object2D}
  */
 function Pattern(src)
 {

+ 1 - 0
source/objects/Text.js

@@ -6,6 +6,7 @@ import {Object2D} from "../Object2D.js";
  * Text element, used to draw text into the canvas.
  *
  * @class
+ * @extends {Object2D}
  */
 function Text()
 {

+ 1 - 0
source/objects/mask/Mask.js

@@ -14,6 +14,7 @@ import {Box2} from "../../math/Box2.js";
  * A mask objects is draw using the context.clip() method.
  *
  * @class
+ * @extends {Object2D}
  */
 function Mask()
 {

Some files were not shown because too many files changed in this diff