diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a431291..7df06fcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## `prebuilt` +## `0.12.3` ### Fixed @@ -8,6 +8,7 @@ - SVG Export: Fix viewport size of exported `Symbol` (#1668). - Handle non-invertible matrices in `Item#contains()` (#1651). - Improve documentation for `Item#clipMask` (#1673). +- Improve TypeScript definitions (#1659, #1663, #1664, #1667) ### Added @@ -35,7 +36,7 @@ ### Added -- Add TypesScript definition, automatically generated from JSDoc comments +- Add TypeScript definition, automatically generated from JSDoc comments (#1612). - Support `new Raster(size[, position])` constructor. - Expose `Raster#context` accessor. diff --git a/dist/docs/assets/js/paper.js b/dist/docs/assets/js/paper.js index 3645c1de..4d841669 100644 --- a/dist/docs/assets/js/paper.js +++ b/dist/docs/assets/js/paper.js @@ -1,5 +1,5 @@ /*! - * Paper.js v0.12.2-develop - The Swiss Army Knife of Vector Graphics Scripting. + * Paper.js v0.12.3-develop - The Swiss Army Knife of Vector Graphics Scripting. * http://paperjs.org/ * * Copyright (c) 2011 - 2019, Juerg Lehni & Jonathan Puckey @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Sat Jun 22 14:16:49 2019 +0200 + * Date: Sat Jun 22 14:43:53 2019 +0200 * *** * @@ -795,7 +795,7 @@ var PaperScope = Base.extend({ } }, - version: "0.12.2-develop", + version: "0.12.3-develop", getView: function() { var project = this.project; diff --git a/dist/docs/classes/Color.html b/dist/docs/classes/Color.html index 7bfb041c..5f2a4b17 100644 --- a/dist/docs/classes/Color.html +++ b/dist/docs/classes/Color.html @@ -2179,7 +2179,7 @@ circle.fillColor = Color.random();
diff --git a/dist/docs/classes/CompoundPath.html b/dist/docs/classes/CompoundPath.html index ed968077..f984b926 100644 --- a/dist/docs/classes/CompoundPath.html +++ b/dist/docs/classes/CompoundPath.html @@ -8870,7 +8870,7 @@ path.smooth(); diff --git a/dist/docs/classes/Curve.html b/dist/docs/classes/Curve.html index 010583a1..bde9d6c9 100644 --- a/dist/docs/classes/Curve.html +++ b/dist/docs/classes/Curve.html @@ -2314,7 +2314,7 @@ diff --git a/dist/docs/classes/CurveLocation.html b/dist/docs/classes/CurveLocation.html index b569c769..0a497788 100644 --- a/dist/docs/classes/CurveLocation.html +++ b/dist/docs/classes/CurveLocation.html @@ -663,7 +663,7 @@ diff --git a/dist/docs/classes/Event.html b/dist/docs/classes/Event.html index d1b916c4..3f09797a 100644 --- a/dist/docs/classes/Event.html +++ b/dist/docs/classes/Event.html @@ -167,7 +167,7 @@ diff --git a/dist/docs/classes/Gradient.html b/dist/docs/classes/Gradient.html index e5671fb7..3e836169 100644 --- a/dist/docs/classes/Gradient.html +++ b/dist/docs/classes/Gradient.html @@ -231,7 +231,7 @@ path.fillColor = { diff --git a/dist/docs/classes/GradientStop.html b/dist/docs/classes/GradientStop.html index 0ba2da6c..8daaf3c3 100644 --- a/dist/docs/classes/GradientStop.html +++ b/dist/docs/classes/GradientStop.html @@ -264,7 +264,7 @@ function onFrame(event) { diff --git a/dist/docs/classes/Group.html b/dist/docs/classes/Group.html index 456b22fd..e1a8daca 100644 --- a/dist/docs/classes/Group.html +++ b/dist/docs/classes/Group.html @@ -6857,7 +6857,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); diff --git a/dist/docs/classes/HitResult.html b/dist/docs/classes/HitResult.html index 7ed7de2b..6b27c546 100644 --- a/dist/docs/classes/HitResult.html +++ b/dist/docs/classes/HitResult.html @@ -230,7 +230,7 @@ diff --git a/dist/docs/classes/Item.html b/dist/docs/classes/Item.html index c14d6a3e..73a34196 100644 --- a/dist/docs/classes/Item.html +++ b/dist/docs/classes/Item.html @@ -6621,7 +6621,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); diff --git a/dist/docs/classes/Key.html b/dist/docs/classes/Key.html index f3c58641..aed6783d 100644 --- a/dist/docs/classes/Key.html +++ b/dist/docs/classes/Key.html @@ -130,7 +130,7 @@ diff --git a/dist/docs/classes/KeyEvent.html b/dist/docs/classes/KeyEvent.html index 409b4976..367393ff 100644 --- a/dist/docs/classes/KeyEvent.html +++ b/dist/docs/classes/KeyEvent.html @@ -299,7 +299,7 @@ diff --git a/dist/docs/classes/Layer.html b/dist/docs/classes/Layer.html index 8377475b..0f31ca8f 100644 --- a/dist/docs/classes/Layer.html +++ b/dist/docs/classes/Layer.html @@ -6843,7 +6843,7 @@ function onFrame(event) { diff --git a/dist/docs/classes/Matrix.html b/dist/docs/classes/Matrix.html index 349d4863..a7ace3bf 100644 --- a/dist/docs/classes/Matrix.html +++ b/dist/docs/classes/Matrix.html @@ -1735,7 +1735,7 @@ Array of Numbers diff --git a/dist/docs/classes/MouseEvent.html b/dist/docs/classes/MouseEvent.html index 5a1fff6e..f9831575 100644 --- a/dist/docs/classes/MouseEvent.html +++ b/dist/docs/classes/MouseEvent.html @@ -346,7 +346,7 @@ diff --git a/dist/docs/classes/PaperScope.html b/dist/docs/classes/PaperScope.html index 581ccad6..e56a663f 100644 --- a/dist/docs/classes/PaperScope.html +++ b/dist/docs/classes/PaperScope.html @@ -440,7 +440,7 @@ diff --git a/dist/docs/classes/PaperScript.html b/dist/docs/classes/PaperScript.html index 5fde59e6..5a511f9e 100644 --- a/dist/docs/classes/PaperScript.html +++ b/dist/docs/classes/PaperScript.html @@ -189,7 +189,7 @@ diff --git a/dist/docs/classes/Path.html b/dist/docs/classes/Path.html index 52a5f1aa..c1ffcfae 100644 --- a/dist/docs/classes/Path.html +++ b/dist/docs/classes/Path.html @@ -11768,7 +11768,7 @@ path.smooth(); diff --git a/dist/docs/classes/PathItem.html b/dist/docs/classes/PathItem.html index 837b7d47..d8570905 100644 --- a/dist/docs/classes/PathItem.html +++ b/dist/docs/classes/PathItem.html @@ -8632,7 +8632,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); diff --git a/dist/docs/classes/Point.html b/dist/docs/classes/Point.html index d993cff7..251211f1 100644 --- a/dist/docs/classes/Point.html +++ b/dist/docs/classes/Point.html @@ -2690,7 +2690,7 @@ var point = maxPoint * randomPoint; diff --git a/dist/docs/classes/PointText.html b/dist/docs/classes/PointText.html index aa561879..8d16d012 100644 --- a/dist/docs/classes/PointText.html +++ b/dist/docs/classes/PointText.html @@ -7022,7 +7022,7 @@ function onMouseMove(event) { diff --git a/dist/docs/classes/Project.html b/dist/docs/classes/Project.html index 05fbcd49..c1f0d6e6 100644 --- a/dist/docs/classes/Project.html +++ b/dist/docs/classes/Project.html @@ -1296,7 +1296,7 @@ for (var i = 0; i < items.length; i++) { diff --git a/dist/docs/classes/Raster.html b/dist/docs/classes/Raster.html index c287965b..8d1eb62b 100644 --- a/dist/docs/classes/Raster.html +++ b/dist/docs/classes/Raster.html @@ -7764,7 +7764,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); diff --git a/dist/docs/classes/Rectangle.html b/dist/docs/classes/Rectangle.html index 18d921aa..7d00dc51 100644 --- a/dist/docs/classes/Rectangle.html +++ b/dist/docs/classes/Rectangle.html @@ -1645,7 +1645,7 @@ intersectionPath.fillColor = 'red'; diff --git a/dist/docs/classes/Segment.html b/dist/docs/classes/Segment.html index 715fc94d..7501d685 100644 --- a/dist/docs/classes/Segment.html +++ b/dist/docs/classes/Segment.html @@ -930,7 +930,7 @@ path.segments[2].selected = true; diff --git a/dist/docs/classes/Shape.html b/dist/docs/classes/Shape.html index dc0f074b..ad7fcf27 100644 --- a/dist/docs/classes/Shape.html +++ b/dist/docs/classes/Shape.html @@ -7356,7 +7356,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); diff --git a/dist/docs/classes/Size.html b/dist/docs/classes/Size.html index 8e50c8de..8c5d577f 100644 --- a/dist/docs/classes/Size.html +++ b/dist/docs/classes/Size.html @@ -1816,7 +1816,7 @@ var size = maxSize * randomSize; diff --git a/dist/docs/classes/Style.html b/dist/docs/classes/Style.html index b22a8574..7ef4136c 100644 --- a/dist/docs/classes/Style.html +++ b/dist/docs/classes/Style.html @@ -910,7 +910,7 @@ var circle = new Path.Circle({ diff --git a/dist/docs/classes/SymbolDefinition.html b/dist/docs/classes/SymbolDefinition.html index de42d622..05dce8f6 100644 --- a/dist/docs/classes/SymbolDefinition.html +++ b/dist/docs/classes/SymbolDefinition.html @@ -302,7 +302,7 @@ for (var i = 0; i < 100; i++) { diff --git a/dist/docs/classes/SymbolItem.html b/dist/docs/classes/SymbolItem.html index 2c00dede..b69b5de7 100644 --- a/dist/docs/classes/SymbolItem.html +++ b/dist/docs/classes/SymbolItem.html @@ -6748,7 +6748,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); diff --git a/dist/docs/classes/TextItem.html b/dist/docs/classes/TextItem.html index 3d06d6b4..3daf94dd 100644 --- a/dist/docs/classes/TextItem.html +++ b/dist/docs/classes/TextItem.html @@ -6862,7 +6862,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); diff --git a/dist/docs/classes/Tool.html b/dist/docs/classes/Tool.html index 78b9c867..9d151bde 100644 --- a/dist/docs/classes/Tool.html +++ b/dist/docs/classes/Tool.html @@ -752,7 +752,7 @@ tool.onKeyDown = function(event) { diff --git a/dist/docs/classes/ToolEvent.html b/dist/docs/classes/ToolEvent.html index 17330cc7..6166a066 100644 --- a/dist/docs/classes/ToolEvent.html +++ b/dist/docs/classes/ToolEvent.html @@ -437,7 +437,7 @@ function onMouseUp(event) { diff --git a/dist/docs/classes/Tween.html b/dist/docs/classes/Tween.html index 3655388c..86c4cd79 100644 --- a/dist/docs/classes/Tween.html +++ b/dist/docs/classes/Tween.html @@ -365,7 +365,7 @@ setTimeout(function(){ diff --git a/dist/docs/classes/View.html b/dist/docs/classes/View.html index 9e212916..d2cc8bf6 100644 --- a/dist/docs/classes/View.html +++ b/dist/docs/classes/View.html @@ -1763,7 +1763,7 @@ function onMouseDown(event) { diff --git a/dist/docs/classes/global.html b/dist/docs/classes/global.html index 04fefc28..84af03e8 100644 --- a/dist/docs/classes/global.html +++ b/dist/docs/classes/global.html @@ -416,7 +416,7 @@ diff --git a/dist/docs/classes/index.html b/dist/docs/classes/index.html index f0c9a734..7ec8a2ce 100644 --- a/dist/docs/classes/index.html +++ b/dist/docs/classes/index.html @@ -2,13 +2,13 @@ -