diff --git a/CHANGELOG.md b/CHANGELOG.md index 68cf659d..f4e2e70d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## `0.12.8` + +### Fixed + +- TypeScript: Fix returned instance type (#1796). +- Fix `Path#strokeBounds` for open paths (#1817). +- Fix animation progress handling in `Tween.update()`. +- Fix setting `Item#scaling` to a new value after it was set to zero (#1816). +- SVG Import: Fully support SVG strings with leading line-breaks (#1813). +- Docs: Improve `Raster#initialize(object)` documentation (#1815, #1782). +- Docs: Fix `Item#getItem(options)` documentation. + ## `0.12.7` ### Fixed diff --git a/dist/docs/assets/js/paper.js b/dist/docs/assets/js/paper.js index d7987467..8218eeea 100644 --- a/dist/docs/assets/js/paper.js +++ b/dist/docs/assets/js/paper.js @@ -1,5 +1,5 @@ /*! - * Paper.js v0.12.7-develop - The Swiss Army Knife of Vector Graphics Scripting. + * Paper.js v0.12.8-develop - The Swiss Army Knife of Vector Graphics Scripting. * http://paperjs.org/ * * Copyright (c) 2011 - 2020, Jürg Lehni & Jonathan Puckey @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Wed Jun 3 16:46:03 2020 +0200 + * Date: Wed Jun 3 16:53:04 2020 +0200 * *** * @@ -821,7 +821,7 @@ var PaperScope = Base.extend({ } }, - version: "0.12.7-develop", + version: "0.12.8-develop", getView: function() { var project = this.project; diff --git a/dist/docs/classes/Color.html b/dist/docs/classes/Color.html index ca16c5d4..b7916722 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 d1c58a1c..1aefddce 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 207032a1..c77c4479 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 e2e29e7f..b00043d7 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 b8d19331..0e580390 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 b2000e93..a65611e3 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 7a4bb484..5ba0f364 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 ab60bb2c..ec775dad 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 0496a4bb..8e7f4da2 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 aa72ed7a..51a104fd 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 047f3c4c..1f9bc428 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 1f4c3555..34a9efeb 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 125b00d1..15e30fd0 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 249b4594..8f2f906f 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 60acc61a..923b726a 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 c91e9c05..2830ba20 100644 --- a/dist/docs/classes/PaperScope.html +++ b/dist/docs/classes/PaperScope.html @@ -450,7 +450,7 @@
diff --git a/dist/docs/classes/PaperScript.html b/dist/docs/classes/PaperScript.html index a84a7f34..8a7c31a4 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 8e102a9a..6d1a0c9e 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 cc2212ee..89059820 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 c71229c1..30c1e890 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 d86b35dd..dbe7c969 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 315a480e..dd5d750e 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 b0d76a52..0eb357ae 100644 --- a/dist/docs/classes/Raster.html +++ b/dist/docs/classes/Raster.html @@ -7804,7 +7804,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
diff --git a/dist/docs/classes/Rectangle.html b/dist/docs/classes/Rectangle.html index 0c7c57bd..ba2d54a1 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 26a30fa2..172a0771 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 63015ff0..7830a3a2 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 4e38eaec..154d771d 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 5d7a751d..4b4ffaeb 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 2a287e1b..69133d5f 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 0da16f7c..e50cac1e 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 91f279f2..3d73227c 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 38dd6746..f2757506 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 50064ae7..cf6b289a 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 46231fa7..f96d2f09 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 085bf518..a285773e 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 af4628af..9deb822a 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 86fa6ef8..bc0f2ce9 100644 --- a/dist/docs/classes/index.html +++ b/dist/docs/classes/index.html @@ -2,13 +2,13 @@ -Paper.js v0.12.7 (develop) +Paper.js v0.12.8 (develop)
-

Paper.js0.12.7 (develop)

+

Paper.js0.12.8 (develop)