diff --git a/dist/docs/assets/js/paper.js b/dist/docs/assets/js/paper.js index 6a04f7f2..77adadff 100644 --- a/dist/docs/assets/js/paper.js +++ b/dist/docs/assets/js/paper.js @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Tue Oct 31 13:13:17 2023 -0400 + * Date: Wed Feb 21 13:03:29 2024 -0800 * *** * diff --git a/dist/docs/classes/Color.html b/dist/docs/classes/Color.html index 4137454a..00f6e1c9 100644 --- a/dist/docs/classes/Color.html +++ b/dist/docs/classes/Color.html @@ -2180,7 +2180,7 @@ circle.fillColor = Color.random(); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/CompoundPath.html b/dist/docs/classes/CompoundPath.html index 2d161a52..e0b0da2a 100644 --- a/dist/docs/classes/CompoundPath.html +++ b/dist/docs/classes/CompoundPath.html @@ -8880,7 +8880,7 @@ path.smooth(); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Curve.html b/dist/docs/classes/Curve.html index 646ca52c..9308f617 100644 --- a/dist/docs/classes/Curve.html +++ b/dist/docs/classes/Curve.html @@ -2315,7 +2315,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/CurveLocation.html b/dist/docs/classes/CurveLocation.html index eb3fc245..0950edfb 100644 --- a/dist/docs/classes/CurveLocation.html +++ b/dist/docs/classes/CurveLocation.html @@ -664,7 +664,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Event.html b/dist/docs/classes/Event.html index 57603a28..59641f22 100644 --- a/dist/docs/classes/Event.html +++ b/dist/docs/classes/Event.html @@ -168,7 +168,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Gradient.html b/dist/docs/classes/Gradient.html index cd10fc86..2bbc053a 100644 --- a/dist/docs/classes/Gradient.html +++ b/dist/docs/classes/Gradient.html @@ -232,7 +232,7 @@ path.fillColor = { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/GradientStop.html b/dist/docs/classes/GradientStop.html index 48eff73c..055abfb6 100644 --- a/dist/docs/classes/GradientStop.html +++ b/dist/docs/classes/GradientStop.html @@ -265,7 +265,7 @@ function onFrame(event) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Group.html b/dist/docs/classes/Group.html index be8eec7b..cb78616c 100644 --- a/dist/docs/classes/Group.html +++ b/dist/docs/classes/Group.html @@ -6867,7 +6867,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/HitResult.html b/dist/docs/classes/HitResult.html index 97d487b0..a58017d7 100644 --- a/dist/docs/classes/HitResult.html +++ b/dist/docs/classes/HitResult.html @@ -231,7 +231,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Item.html b/dist/docs/classes/Item.html index 9b8c7779..5b241d41 100644 --- a/dist/docs/classes/Item.html +++ b/dist/docs/classes/Item.html @@ -6631,7 +6631,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Key.html b/dist/docs/classes/Key.html index 9bfb0ed0..62272784 100644 --- a/dist/docs/classes/Key.html +++ b/dist/docs/classes/Key.html @@ -131,7 +131,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/KeyEvent.html b/dist/docs/classes/KeyEvent.html index 4c633dd7..3d430fd8 100644 --- a/dist/docs/classes/KeyEvent.html +++ b/dist/docs/classes/KeyEvent.html @@ -300,7 +300,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Layer.html b/dist/docs/classes/Layer.html index 902f7f9b..db172d79 100644 --- a/dist/docs/classes/Layer.html +++ b/dist/docs/classes/Layer.html @@ -6853,7 +6853,7 @@ function onFrame(event) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Matrix.html b/dist/docs/classes/Matrix.html index 7c33ac1c..9c4130c8 100644 --- a/dist/docs/classes/Matrix.html +++ b/dist/docs/classes/Matrix.html @@ -1736,7 +1736,7 @@ Array of Numbers +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/MouseEvent.html b/dist/docs/classes/MouseEvent.html index 57e98738..255af535 100644 --- a/dist/docs/classes/MouseEvent.html +++ b/dist/docs/classes/MouseEvent.html @@ -347,7 +347,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/PaperScope.html b/dist/docs/classes/PaperScope.html index d4e43639..616a68f9 100644 --- a/dist/docs/classes/PaperScope.html +++ b/dist/docs/classes/PaperScope.html @@ -451,7 +451,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/PaperScript.html b/dist/docs/classes/PaperScript.html index 34bcef2e..9f3fbfc8 100644 --- a/dist/docs/classes/PaperScript.html +++ b/dist/docs/classes/PaperScript.html @@ -190,7 +190,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Path.html b/dist/docs/classes/Path.html index f3f0c9af..3ccbf7d6 100644 --- a/dist/docs/classes/Path.html +++ b/dist/docs/classes/Path.html @@ -11778,7 +11778,7 @@ path.smooth(); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/PathItem.html b/dist/docs/classes/PathItem.html index b6b6679e..33c8abd0 100644 --- a/dist/docs/classes/PathItem.html +++ b/dist/docs/classes/PathItem.html @@ -8642,7 +8642,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Point.html b/dist/docs/classes/Point.html index 6e2efe61..5d48e39e 100644 --- a/dist/docs/classes/Point.html +++ b/dist/docs/classes/Point.html @@ -2691,7 +2691,7 @@ var point = maxPoint * randomPoint; +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/PointText.html b/dist/docs/classes/PointText.html index 0476643d..2b17407f 100644 --- a/dist/docs/classes/PointText.html +++ b/dist/docs/classes/PointText.html @@ -7032,7 +7032,7 @@ function onMouseMove(event) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Project.html b/dist/docs/classes/Project.html index c3b706d2..6120bdb5 100644 --- a/dist/docs/classes/Project.html +++ b/dist/docs/classes/Project.html @@ -1297,7 +1297,7 @@ for (var i = 0; i < items.length; i++) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Raster.html b/dist/docs/classes/Raster.html index 42e69ee2..a3f71162 100644 --- a/dist/docs/classes/Raster.html +++ b/dist/docs/classes/Raster.html @@ -7774,7 +7774,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Rectangle.html b/dist/docs/classes/Rectangle.html index d0024d1d..640c523f 100644 --- a/dist/docs/classes/Rectangle.html +++ b/dist/docs/classes/Rectangle.html @@ -1646,7 +1646,7 @@ intersectionPath.fillColor = 'red'; +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Segment.html b/dist/docs/classes/Segment.html index 1c770ec8..ed49b91a 100644 --- a/dist/docs/classes/Segment.html +++ b/dist/docs/classes/Segment.html @@ -931,7 +931,7 @@ path.segments[2].selected = true; +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Shape.html b/dist/docs/classes/Shape.html index 4d9acc77..952ae9bb 100644 --- a/dist/docs/classes/Shape.html +++ b/dist/docs/classes/Shape.html @@ -7366,7 +7366,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Size.html b/dist/docs/classes/Size.html index dd50d05f..f52f0e96 100644 --- a/dist/docs/classes/Size.html +++ b/dist/docs/classes/Size.html @@ -1817,7 +1817,7 @@ var size = maxSize * randomSize; +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Style.html b/dist/docs/classes/Style.html index 5eb37e0c..4371621d 100644 --- a/dist/docs/classes/Style.html +++ b/dist/docs/classes/Style.html @@ -911,7 +911,7 @@ var circle = new Path.Circle({ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/SymbolDefinition.html b/dist/docs/classes/SymbolDefinition.html index aa2a9051..98b1fa32 100644 --- a/dist/docs/classes/SymbolDefinition.html +++ b/dist/docs/classes/SymbolDefinition.html @@ -303,7 +303,7 @@ for (var i = 0; i < 100; i++) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/SymbolItem.html b/dist/docs/classes/SymbolItem.html index 07bd3085..169877a9 100644 --- a/dist/docs/classes/SymbolItem.html +++ b/dist/docs/classes/SymbolItem.html @@ -6758,7 +6758,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/TextItem.html b/dist/docs/classes/TextItem.html index a4f70735..5cdf6316 100644 --- a/dist/docs/classes/TextItem.html +++ b/dist/docs/classes/TextItem.html @@ -6872,7 +6872,7 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 }); +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Tool.html b/dist/docs/classes/Tool.html index b58800ea..8563371f 100644 --- a/dist/docs/classes/Tool.html +++ b/dist/docs/classes/Tool.html @@ -753,7 +753,7 @@ tool.onKeyDown = function(event) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/ToolEvent.html b/dist/docs/classes/ToolEvent.html index 5e03994b..12f393f7 100644 --- a/dist/docs/classes/ToolEvent.html +++ b/dist/docs/classes/ToolEvent.html @@ -438,7 +438,7 @@ function onMouseUp(event) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/Tween.html b/dist/docs/classes/Tween.html index 40197970..fdb0e171 100644 --- a/dist/docs/classes/Tween.html +++ b/dist/docs/classes/Tween.html @@ -366,7 +366,7 @@ setTimeout(function(){ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/View.html b/dist/docs/classes/View.html index ace19336..b3e1be08 100644 --- a/dist/docs/classes/View.html +++ b/dist/docs/classes/View.html @@ -1764,7 +1764,7 @@ function onMouseDown(event) { +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/docs/classes/global.html b/dist/docs/classes/global.html index 83b62a36..d975867e 100644 --- a/dist/docs/classes/global.html +++ b/dist/docs/classes/global.html @@ -417,7 +417,7 @@ +Copyright © 2011—2024 Jürg Lehni & Jonathan Puckey. All Rights Reserved.

diff --git a/dist/paper-core.js b/dist/paper-core.js index aa291de1..06d488a6 100644 --- a/dist/paper-core.js +++ b/dist/paper-core.js @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Tue Oct 31 13:13:17 2023 -0400 + * Date: Wed Feb 21 13:03:29 2024 -0800 * *** * diff --git a/dist/paper-core.min.js b/dist/paper-core.min.js index d0fba64f..18350a56 100644 --- a/dist/paper-core.min.js +++ b/dist/paper-core.min.js @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Tue Oct 31 13:13:17 2023 -0400 + * Date: Wed Feb 21 13:03:29 2024 -0800 * *** * diff --git a/dist/paper-full.js b/dist/paper-full.js index 6a04f7f2..77adadff 100644 --- a/dist/paper-full.js +++ b/dist/paper-full.js @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Tue Oct 31 13:13:17 2023 -0400 + * Date: Wed Feb 21 13:03:29 2024 -0800 * *** * diff --git a/dist/paper-full.min.js b/dist/paper-full.min.js index 6279307b..6b35c6b1 100644 --- a/dist/paper-full.min.js +++ b/dist/paper-full.min.js @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Tue Oct 31 13:13:17 2023 -0400 + * Date: Wed Feb 21 13:03:29 2024 -0800 * *** * diff --git a/dist/paper.d.ts b/dist/paper.d.ts index 61a5b558..83079cec 100644 --- a/dist/paper.d.ts +++ b/dist/paper.d.ts @@ -9,7 +9,7 @@ * * All rights reserved. * - * Date: Tue Oct 31 13:13:17 2023 -0400 + * Date: Wed Feb 21 13:03:29 2024 -0800 * * This is an auto-generated type definition. */ @@ -3497,16 +3497,6 @@ declare namespace paper { */ constructor(object: object) - /** - * Adds an array of segments (or types that can be converted to segments) - * to the end of the {@link #segments} array. - * - * @return an array of the added segments. These segments are - * not necessarily the same objects, e.g. if the segment to be added already - * belongs to another path - */ - addSegments(segments: Segment[]): Segment[] - /** * Adds one or more segments to the end of the {@link #segments} array of * this path. @@ -3532,6 +3522,16 @@ declare namespace paper { */ insert(index: number, segment: Segment | Point): Segment + /** + * Adds an array of segments (or types that can be converted to segments) + * to the end of the {@link #segments} array. + * + * @return an array of the added segments. These segments are + * not necessarily the same objects, e.g. if the segment to be added already + * belongs to another path + */ + addSegments(segments: Segment[]): Segment[] + /** * Inserts an array of segments at a given index in the path's * {@link #segments} array. @@ -3694,16 +3694,6 @@ declare namespace paper { */ getPointAt(offset: number): Point - /** - * Calculates the normalized tangent vector of the path at the given offset. - * - * @param offset - the offset on the path, where `0` is at - * the beginning of the path and {@link Path#length} at the end - * - * @return the normalized tangent vector at the given offset - */ - getTangentAt(offset: number): Point - /** * Calculates the normal vector of the path at the given offset. * @@ -3760,9 +3750,83 @@ declare namespace paper { */ getOffsetsWithTangent(tangent: Point): number[] + /** + * Calculates the normalized tangent vector of the path at the given offset. + * + * @param offset - the offset on the path, where `0` is at + * the beginning of the path and {@link Path#length} at the end + * + * @return the normalized tangent vector at the given offset + */ + getTangentAt(offset: number): Point + } namespace Path { + class Star extends Path { + /** + * Creates a star shaped path item from the properties described by an + * object literal. + * + * @param object - an object containing properties describing the + * path's attributes + */ + constructor(object: object) + + /** + * Creates a star shaped path item. + * + * The largest of `radius1` and `radius2` will be the outer radius of + * the star. The smallest of radius1 and radius2 will be the inner + * radius. + * + * @param center - the center point of the star + * @param points - the number of points of the star + */ + constructor(center: Point, points: number, radius1: number, radius2: number) + + } + + class Line extends Path { + /** + * Creates a linear path item from two points describing a line. + * + * @param from - the line's starting point + * @param to - the line's ending point + */ + constructor(from: Point, to: Point) + + /** + * Creates a linear path item from the properties described by an object + * literal. + * + * @param object - an object containing properties describing the + * path's attributes + */ + constructor(object: object) + + } + + class Circle extends Path { + /** + * Creates a circular path item. + * + * @param center - the center point of the circle + * @param radius - the radius of the circle + */ + constructor(center: Point, radius: number) + + /** + * Creates a circular path item from the properties described by an + * object literal. + * + * @param object - an object containing properties describing the + * path's attributes + */ + constructor(object: object) + + } + class Rectangle extends Path { /** * Creates a rectangular path item, with optionally rounded corners. @@ -3862,70 +3926,6 @@ declare namespace paper { constructor(object: object) } - - class Star extends Path { - /** - * Creates a star shaped path item. - * - * The largest of `radius1` and `radius2` will be the outer radius of - * the star. The smallest of radius1 and radius2 will be the inner - * radius. - * - * @param center - the center point of the star - * @param points - the number of points of the star - */ - constructor(center: Point, points: number, radius1: number, radius2: number) - - /** - * Creates a star shaped path item from the properties described by an - * object literal. - * - * @param object - an object containing properties describing the - * path's attributes - */ - constructor(object: object) - - } - - class Line extends Path { - /** - * Creates a linear path item from two points describing a line. - * - * @param from - the line's starting point - * @param to - the line's ending point - */ - constructor(from: Point, to: Point) - - /** - * Creates a linear path item from the properties described by an object - * literal. - * - * @param object - an object containing properties describing the - * path's attributes - */ - constructor(object: object) - - } - - class Circle extends Path { - /** - * Creates a circular path item. - * - * @param center - the center point of the circle - * @param radius - the radius of the circle - */ - constructor(center: Point, radius: number) - - /** - * Creates a circular path item from the properties described by an - * object literal. - * - * @param object - an object containing properties describing the - * path's attributes - */ - constructor(object: object) - - } } /** diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 00000000..6dc461c6 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,7 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + + "extends": [ + "github>scratchfoundation/scratch-renovate-config:js-lib-bundled" + ] +}