paper 0.12.17 → 0.12.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.
- package/CHANGELOG.md +12 -1
- package/dist/docs/assets/js/paper.js +19 -11
- package/dist/docs/classes/Color.html +2 -2
- package/dist/docs/classes/CompoundPath.html +3 -4
- package/dist/docs/classes/Curve.html +2 -2
- package/dist/docs/classes/CurveLocation.html +2 -2
- package/dist/docs/classes/Event.html +2 -2
- package/dist/docs/classes/Gradient.html +2 -2
- package/dist/docs/classes/GradientStop.html +2 -2
- package/dist/docs/classes/Group.html +3 -4
- package/dist/docs/classes/HitResult.html +2 -2
- package/dist/docs/classes/Item.html +3 -4
- package/dist/docs/classes/Key.html +2 -2
- package/dist/docs/classes/KeyEvent.html +2 -2
- package/dist/docs/classes/Layer.html +3 -4
- package/dist/docs/classes/Matrix.html +2 -2
- package/dist/docs/classes/MouseEvent.html +2 -2
- package/dist/docs/classes/PaperScope.html +2 -2
- package/dist/docs/classes/PaperScript.html +2 -2
- package/dist/docs/classes/Path.html +3 -4
- package/dist/docs/classes/PathItem.html +3 -4
- package/dist/docs/classes/Point.html +2 -2
- package/dist/docs/classes/PointText.html +3 -4
- package/dist/docs/classes/Project.html +3 -2
- package/dist/docs/classes/Raster.html +3 -4
- package/dist/docs/classes/Rectangle.html +2 -2
- package/dist/docs/classes/Segment.html +2 -2
- package/dist/docs/classes/Shape.html +3 -4
- package/dist/docs/classes/Size.html +2 -2
- package/dist/docs/classes/Style.html +2 -2
- package/dist/docs/classes/SymbolDefinition.html +2 -2
- package/dist/docs/classes/SymbolItem.html +3 -4
- package/dist/docs/classes/TextItem.html +3 -4
- package/dist/docs/classes/Tool.html +2 -2
- package/dist/docs/classes/ToolEvent.html +2 -2
- package/dist/docs/classes/Tween.html +2 -2
- package/dist/docs/classes/View.html +3 -3
- package/dist/docs/classes/global.html +2 -2
- package/dist/docs/classes/index.html +2 -2
- package/dist/docs/index.html +1 -1
- package/dist/paper-core.js +19 -11
- package/dist/paper-core.min.js +3 -3
- package/dist/paper-full.js +19 -11
- package/dist/paper-full.min.js +3 -3
- package/dist/paper.d.ts +10 -4
- package/dist/paperjs/LICENSE.txt +23 -0
- package/dist/paperjs/dist/node/canvas.js +66 -0
- package/dist/paperjs/dist/node/extend.js +156 -0
- package/dist/paperjs/dist/node/self.js +58 -0
- package/dist/paperjs/dist/node/xml.js +40 -0
- package/dist/paperjs/dist/paper-core.d.ts +1 -0
- package/dist/paperjs/dist/paper-core.js +15703 -0
- package/dist/paperjs/dist/paper-core.min.js +32 -0
- package/dist/paperjs/dist/paper-full.js +17472 -0
- package/dist/paperjs/dist/paper-full.min.js +32 -0
- package/dist/paperjs/dist/paper.d.ts +7394 -0
- package/dist/paperjs/docs/assets/css/docs.css +414 -0
- package/dist/paperjs/docs/assets/js/codemirror.js +4 -0
- package/dist/paperjs/docs/assets/js/docs.js +493 -0
- package/dist/paperjs/docs/assets/js/jquery.js +6 -0
- package/dist/paperjs/docs/assets/js/paper.js +17472 -0
- package/dist/paperjs/docs/classes/Color.html +2188 -0
- package/dist/paperjs/docs/classes/CompoundPath.html +8877 -0
- package/dist/paperjs/docs/classes/Curve.html +2323 -0
- package/dist/paperjs/docs/classes/CurveLocation.html +672 -0
- package/dist/paperjs/docs/classes/Event.html +176 -0
- package/dist/paperjs/docs/classes/Gradient.html +240 -0
- package/dist/paperjs/docs/classes/GradientStop.html +273 -0
- package/dist/paperjs/docs/classes/Group.html +6864 -0
- package/dist/paperjs/docs/classes/HitResult.html +239 -0
- package/dist/paperjs/docs/classes/Item.html +6628 -0
- package/dist/paperjs/docs/classes/Key.html +139 -0
- package/dist/paperjs/docs/classes/KeyEvent.html +308 -0
- package/dist/paperjs/docs/classes/Layer.html +6850 -0
- package/dist/paperjs/docs/classes/Matrix.html +1744 -0
- package/dist/paperjs/docs/classes/MouseEvent.html +355 -0
- package/dist/paperjs/docs/classes/PaperScope.html +459 -0
- package/dist/paperjs/docs/classes/PaperScript.html +198 -0
- package/dist/paperjs/docs/classes/Path.html +11775 -0
- package/dist/paperjs/docs/classes/PathItem.html +8639 -0
- package/dist/paperjs/docs/classes/Point.html +2699 -0
- package/dist/paperjs/docs/classes/PointText.html +7029 -0
- package/dist/paperjs/docs/classes/Project.html +1305 -0
- package/dist/paperjs/docs/classes/Raster.html +7843 -0
- package/dist/paperjs/docs/classes/Rectangle.html +1654 -0
- package/dist/paperjs/docs/classes/Segment.html +939 -0
- package/dist/paperjs/docs/classes/Shape.html +7363 -0
- package/dist/paperjs/docs/classes/Size.html +1825 -0
- package/dist/paperjs/docs/classes/Style.html +919 -0
- package/dist/paperjs/docs/classes/SymbolDefinition.html +311 -0
- package/dist/paperjs/docs/classes/SymbolItem.html +6755 -0
- package/dist/paperjs/docs/classes/TextItem.html +6869 -0
- package/dist/paperjs/docs/classes/Tool.html +761 -0
- package/dist/paperjs/docs/classes/ToolEvent.html +446 -0
- package/dist/paperjs/docs/classes/Tween.html +374 -0
- package/dist/paperjs/docs/classes/View.html +1772 -0
- package/dist/paperjs/docs/classes/global.html +425 -0
- package/dist/paperjs/docs/classes/index.html +88 -0
- package/dist/paperjs/docs/index.html +11 -0
- package/dist/paperjs/examples/Animated/AnimatedStar.html +53 -0
- package/dist/paperjs/examples/Animated/BooleanOperations.html +115 -0
- package/dist/paperjs/examples/Animated/CandyCrash.html +151 -0
- package/dist/paperjs/examples/Animated/Extruded.html +50 -0
- package/dist/paperjs/examples/Animated/Lines.html +53 -0
- package/dist/paperjs/examples/Animated/Smoothing.html +70 -0
- package/dist/paperjs/examples/Animated/Space.html +86 -0
- package/dist/paperjs/examples/Animated/SpaceUsingShapes.html +79 -0
- package/dist/paperjs/examples/Games/Paperoids.html +569 -0
- package/dist/paperjs/examples/JSON/Circle Testing.html +34 -0
- package/dist/paperjs/examples/JSON/Compound Path.html +25 -0
- package/dist/paperjs/examples/JSON/Empty Path Testing.html +31 -0
- package/dist/paperjs/examples/JSON/Gradients.html +34 -0
- package/dist/paperjs/examples/JSON/Group Transform.html +28 -0
- package/dist/paperjs/examples/JSON/Line Testing.html +44 -0
- package/dist/paperjs/examples/JSON/Random Path Testing.html +42 -0
- package/dist/paperjs/examples/JSON/Raster.html +29 -0
- package/dist/paperjs/examples/JSON/Rect and Attribute Testing.html +56 -0
- package/dist/paperjs/examples/JSON/Rotated Primitives.html +55 -0
- package/dist/paperjs/examples/JSON/Selection.html +43 -0
- package/dist/paperjs/examples/JSON/Shapes.html +54 -0
- package/dist/paperjs/examples/JSON/Symbols.html +30 -0
- package/dist/paperjs/examples/JSON/Text Testing.html +38 -0
- package/dist/paperjs/examples/JSON/Tiger.html +19 -0
- package/dist/paperjs/examples/JSON/Transform Test 1.html +32 -0
- package/dist/paperjs/examples/JSON/Transform Test 2.html +30 -0
- package/dist/paperjs/examples/Node.js/AnimatedStar.js +52 -0
- package/dist/paperjs/examples/Node.js/BooleanOperations.js +36 -0
- package/dist/paperjs/examples/Node.js/JSONtoPDF.js +20 -0
- package/dist/paperjs/examples/Node.js/Raster.js +32 -0
- package/dist/paperjs/examples/Node.js/RasterRemote.js +33 -0
- package/dist/paperjs/examples/Node.js/SvgExport.js +52 -0
- package/dist/paperjs/examples/Node.js/SvgImport.js +23 -0
- package/dist/paperjs/examples/Node.js/Tadpoles.js +16 -0
- package/dist/paperjs/examples/Node.js/Tadpoles.pjs +278 -0
- package/dist/paperjs/examples/Node.js/in.json +1 -0
- package/dist/paperjs/examples/Node.js/in.svg +16 -0
- package/dist/paperjs/examples/Paperjs.org/BooleanOperattions.html +115 -0
- package/dist/paperjs/examples/Paperjs.org/BouncingBalls.html +103 -0
- package/dist/paperjs/examples/Paperjs.org/Chain.html +54 -0
- package/dist/paperjs/examples/Paperjs.org/DivisionRaster.html +72 -0
- package/dist/paperjs/examples/Paperjs.org/FutureSplash.html +122 -0
- package/dist/paperjs/examples/Paperjs.org/HitTesting.html +103 -0
- package/dist/paperjs/examples/Paperjs.org/InteractiveTiger.html +777 -0
- package/dist/paperjs/examples/Paperjs.org/MetaBalls.html +132 -0
- package/dist/paperjs/examples/Paperjs.org/NyanRainbow.html +202 -0
- package/dist/paperjs/examples/Paperjs.org/PathIntersections.html +76 -0
- package/dist/paperjs/examples/Paperjs.org/Qbertify.html +146 -0
- package/dist/paperjs/examples/Paperjs.org/RadialRainbows.html +80 -0
- package/dist/paperjs/examples/Paperjs.org/RoundedRectangles.html +41 -0
- package/dist/paperjs/examples/Paperjs.org/SatieLikedToDraw.html +140 -0
- package/dist/paperjs/examples/Paperjs.org/Simplify.html +63 -0
- package/dist/paperjs/examples/Paperjs.org/SpiralRaster.html +120 -0
- package/dist/paperjs/examples/Paperjs.org/Tadpoles.html +283 -0
- package/dist/paperjs/examples/Paperjs.org/Voronoi.html +134 -0
- package/dist/paperjs/examples/Rasters/PhyllotaxisRaster.html +96 -0
- package/dist/paperjs/examples/Rasters/Raster.html +34 -0
- package/dist/paperjs/examples/Rasters/RotationRaster.html +44 -0
- package/dist/paperjs/examples/Rasters/Smoothing.html +36 -0
- package/dist/paperjs/examples/SVG Export/Circle Testing.html +32 -0
- package/dist/paperjs/examples/SVG Export/Clipping.html +17 -0
- package/dist/paperjs/examples/SVG Export/Compound Path.html +22 -0
- package/dist/paperjs/examples/SVG Export/Empty Path Testing.html +28 -0
- package/dist/paperjs/examples/SVG Export/Gradients.html +52 -0
- package/dist/paperjs/examples/SVG Export/Group Transform.html +25 -0
- package/dist/paperjs/examples/SVG Export/Line Testing.html +41 -0
- package/dist/paperjs/examples/SVG Export/Random Path Testing.html +39 -0
- package/dist/paperjs/examples/SVG Export/Raster.html +21 -0
- package/dist/paperjs/examples/SVG Export/Rect and Attribute Testing.html +53 -0
- package/dist/paperjs/examples/SVG Export/Rotated Primitives.html +80 -0
- package/dist/paperjs/examples/SVG Export/Shapes.html +58 -0
- package/dist/paperjs/examples/SVG Export/Symbols.html +27 -0
- package/dist/paperjs/examples/SVG Export/Text Testing.html +45 -0
- package/dist/paperjs/examples/SVG Export/Tiger.html +23 -0
- package/dist/paperjs/examples/SVG Export/Transform Test 1.html +29 -0
- package/dist/paperjs/examples/SVG Export/Transform Test 2.html +27 -0
- package/dist/paperjs/examples/SVG Import/Arcs.html +78 -0
- package/dist/paperjs/examples/SVG Import/Butterfly.html +223 -0
- package/dist/paperjs/examples/SVG Import/Circle and Ellipse Testing.html +26 -0
- package/dist/paperjs/examples/SVG Import/Clipping.html +100 -0
- package/dist/paperjs/examples/SVG Import/From File.html +30 -0
- package/dist/paperjs/examples/SVG Import/Gradient.html +138 -0
- package/dist/paperjs/examples/SVG Import/Gradients.html +30 -0
- package/dist/paperjs/examples/SVG Import/Inkscape Pivot.html +52 -0
- package/dist/paperjs/examples/SVG Import/Inkscape.html +88 -0
- package/dist/paperjs/examples/SVG Import/Line Testing.html +24 -0
- package/dist/paperjs/examples/SVG Import/MoreGradients.html +107 -0
- package/dist/paperjs/examples/SVG Import/Multiple Paths Test 1.html +42 -0
- package/dist/paperjs/examples/SVG Import/Multiple Paths Test 2.html +33 -0
- package/dist/paperjs/examples/SVG Import/Nested Groups Test.html +78 -0
- package/dist/paperjs/examples/SVG Import/Polybezier.html +43 -0
- package/dist/paperjs/examples/SVG Import/Rect Testing.html +25 -0
- package/dist/paperjs/examples/SVG Import/Symbols.html +24 -0
- package/dist/paperjs/examples/SVG Import/Testing.html +40 -0
- package/dist/paperjs/examples/SVG Import/Text Testing.html +19 -0
- package/dist/paperjs/examples/SVG Import/Tiger.html +742 -0
- package/dist/paperjs/examples/SVG Import/Transform Testing.html +22 -0
- package/dist/paperjs/examples/SVG Import/Viewbox.html +38 -0
- package/dist/paperjs/examples/Scripts/Arcs.html +39 -0
- package/dist/paperjs/examples/Scripts/BlendModes.html +77 -0
- package/dist/paperjs/examples/Scripts/BooleanOperations.html +937 -0
- package/dist/paperjs/examples/Scripts/CompoundPath.html +19 -0
- package/dist/paperjs/examples/Scripts/CurveTimeParameterization.html +61 -0
- package/dist/paperjs/examples/Scripts/HslColor.html +53 -0
- package/dist/paperjs/examples/Scripts/PathStructure.html +82 -0
- package/dist/paperjs/examples/Scripts/PathTangents.html +73 -0
- package/dist/paperjs/examples/Scripts/Resize.html +42 -0
- package/dist/paperjs/examples/Scripts/RoundRectangle.html +28 -0
- package/dist/paperjs/examples/Scripts/Shapes.html +54 -0
- package/dist/paperjs/examples/Scripts/StrokeBounds.html +101 -0
- package/dist/paperjs/examples/Scripts/StrokeScaling.html +65 -0
- package/dist/paperjs/examples/Tools/BezierTool.html +90 -0
- package/dist/paperjs/examples/Tools/Circles.html +28 -0
- package/dist/paperjs/examples/Tools/Clouds.html +35 -0
- package/dist/paperjs/examples/Tools/DrippingBrush.html +73 -0
- package/dist/paperjs/examples/Tools/FancyBrush.html +82 -0
- package/dist/paperjs/examples/Tools/Grid.html +44 -0
- package/dist/paperjs/examples/Tools/MultiLines.html +44 -0
- package/dist/paperjs/examples/Tools/MultipleTools.html +44 -0
- package/dist/paperjs/examples/Tools/PathEditing.html +95 -0
- package/dist/paperjs/examples/Tools/SquareRounded.html +76 -0
- package/dist/paperjs/examples/Tools/Stars.html +38 -0
- package/dist/paperjs/examples/Tools/Vektor.html +200 -0
- package/dist/paperjs/examples/Tools/Wave.html +50 -0
- package/dist/paperjs/examples/Tools/WormFarm.html +88 -0
- package/dist/paperjs/examples/Worker/Main.html +53 -0
- package/dist/paperjs/examples/Worker/Worker.js +14 -0
- package/dist/paperjs/examples/css/style.css +12 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## `0.12.18`
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Fix transformation in SvgImport (#1926).
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Implement `options.reduceAttributes` option for SVG export (#1895).
|
|
12
|
+
- Add setter for item.index (#1908).
|
|
13
|
+
|
|
3
14
|
## `0.12.17`
|
|
4
15
|
|
|
5
16
|
- Properly warning in Chrome Console by providing `{ willReadFrequently: true }`
|
|
@@ -13,7 +24,7 @@
|
|
|
13
24
|
- Fix new warning in Chrome Console by providing `{ willReadFrequently: true }`
|
|
14
25
|
canvas context option where needed (#1999, #2000, #2003).
|
|
15
26
|
- Fix `Path.*` constructor properties handling when passing `{ insert: true }`
|
|
16
|
-
|
|
27
|
+
|
|
17
28
|
### Changed
|
|
18
29
|
|
|
19
30
|
- Rename `Raster#setImageData()` to `#putImageData()`.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Paper.js v0.12.
|
|
2
|
+
* Paper.js v0.12.18 - The Swiss Army Knife of Vector Graphics Scripting.
|
|
3
3
|
* http://paperjs.org/
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2011 - 2020, Jürg Lehni & Jonathan Puckey
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* All rights reserved.
|
|
11
11
|
*
|
|
12
|
-
* Date:
|
|
12
|
+
* Date: Wed Jul 17 14:57:24 2024 +0200
|
|
13
13
|
*
|
|
14
14
|
***
|
|
15
15
|
*
|
|
@@ -821,7 +821,7 @@ var PaperScope = Base.extend({
|
|
|
821
821
|
}
|
|
822
822
|
},
|
|
823
823
|
|
|
824
|
-
version: "0.12.
|
|
824
|
+
version: "0.12.18",
|
|
825
825
|
|
|
826
826
|
getView: function() {
|
|
827
827
|
var project = this.project;
|
|
@@ -3819,6 +3819,15 @@ new function() {
|
|
|
3819
3819
|
return this._index;
|
|
3820
3820
|
},
|
|
3821
3821
|
|
|
3822
|
+
setIndex: function(index) {
|
|
3823
|
+
var parent = this._parent,
|
|
3824
|
+
children = parent && parent._children;
|
|
3825
|
+
if (children) {
|
|
3826
|
+
parent.insertChildren(index in children ? index : undefined,
|
|
3827
|
+
[this]);
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3830
|
+
|
|
3822
3831
|
equals: function(item) {
|
|
3823
3832
|
return item === this || item && this._class === item._class
|
|
3824
3833
|
&& this._style.equals(item._style)
|
|
@@ -14013,8 +14022,6 @@ var Tool = PaperScopeItem.extend({
|
|
|
14013
14022
|
type = 'mousemove';
|
|
14014
14023
|
var move = mouse.move || mouse.drag,
|
|
14015
14024
|
responds = this.responds(type),
|
|
14016
|
-
minDistance = this.minDistance,
|
|
14017
|
-
maxDistance = this.maxDistance,
|
|
14018
14025
|
called = false,
|
|
14019
14026
|
tool = this;
|
|
14020
14027
|
function update(minDistance, maxDistance) {
|
|
@@ -14057,10 +14064,10 @@ var Tool = PaperScopeItem.extend({
|
|
|
14057
14064
|
update();
|
|
14058
14065
|
emit();
|
|
14059
14066
|
} else if (mouse.up) {
|
|
14060
|
-
update(null,
|
|
14067
|
+
update(null, this._maxDistance);
|
|
14061
14068
|
emit();
|
|
14062
14069
|
} else if (responds) {
|
|
14063
|
-
while (update(
|
|
14070
|
+
while (update(this._minDistance, this._maxDistance))
|
|
14064
14071
|
emit();
|
|
14065
14072
|
}
|
|
14066
14073
|
return called;
|
|
@@ -14975,7 +14982,7 @@ new function() {
|
|
|
14975
14982
|
PointText: exportText
|
|
14976
14983
|
};
|
|
14977
14984
|
|
|
14978
|
-
function applyStyle(item, node, isRoot) {
|
|
14985
|
+
function applyStyle(item, node, options, isRoot) {
|
|
14979
14986
|
var attrs = {},
|
|
14980
14987
|
parent = !isRoot && item.getParent(),
|
|
14981
14988
|
style = [];
|
|
@@ -14989,7 +14996,8 @@ new function() {
|
|
|
14989
14996
|
value = item[get]();
|
|
14990
14997
|
if (entry.exportFilter
|
|
14991
14998
|
? entry.exportFilter(item, value)
|
|
14992
|
-
:
|
|
14999
|
+
: options.reduceAttributes == false
|
|
15000
|
+
|| !parent || !Base.equals(parent[get](), value)) {
|
|
14993
15001
|
if (type === 'color' && value != null) {
|
|
14994
15002
|
var alpha = value.getAlpha();
|
|
14995
15003
|
if (alpha < 1)
|
|
@@ -15071,7 +15079,7 @@ new function() {
|
|
|
15071
15079
|
if (data && data !== '{}' && data !== 'null')
|
|
15072
15080
|
node.setAttribute('data-paper-data', data);
|
|
15073
15081
|
}
|
|
15074
|
-
return node && applyStyle(item, node, isRoot);
|
|
15082
|
+
return node && applyStyle(item, node, options, isRoot);
|
|
15075
15083
|
}
|
|
15076
15084
|
|
|
15077
15085
|
function setOptions(options) {
|
|
@@ -15361,7 +15369,7 @@ new function() {
|
|
|
15361
15369
|
if (!transform)
|
|
15362
15370
|
break;
|
|
15363
15371
|
var parts = transform.split(/\(\s*/),
|
|
15364
|
-
command = parts[0],
|
|
15372
|
+
command = parts[0].trim(),
|
|
15365
15373
|
v = parts[1].split(/[\s,]+/g);
|
|
15366
15374
|
for (var j = 0, m = v.length; j < m; j++)
|
|
15367
15375
|
v[j] = parseFloat(v[j]);
|
|
@@ -2179,8 +2179,8 @@ circle.fillColor = Color.random();
|
|
|
2179
2179
|
|
|
2180
2180
|
<!-- =========================== copyright notice ========================== -->
|
|
2181
2181
|
<p class="footer">
|
|
2182
|
-
Paper.js v0.12.
|
|
2183
|
-
Copyright © 2011—
|
|
2182
|
+
Paper.js v0.12.18<br>
|
|
2183
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
2184
2184
|
<div class="content-end"></div>
|
|
2185
2185
|
|
|
2186
2186
|
|
|
@@ -1782,8 +1782,6 @@ group.firstChild.fillColor = 'green';
|
|
|
1782
1782
|
<div class="member-text">
|
|
1783
1783
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
1784
1784
|
|
|
1785
|
-
<p>Read only.</p>
|
|
1786
|
-
|
|
1787
1785
|
|
|
1788
1786
|
|
|
1789
1787
|
<ul class="member-list">
|
|
@@ -3936,6 +3934,7 @@ function onMouseDown(event) {
|
|
|
3936
3934
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
3937
3935
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
3938
3936
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
3937
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
3939
3938
|
</ul>
|
|
3940
3939
|
|
|
3941
3940
|
<ul class="member-list">
|
|
@@ -8868,8 +8867,8 @@ path.smooth();
|
|
|
8868
8867
|
|
|
8869
8868
|
<!-- =========================== copyright notice ========================== -->
|
|
8870
8869
|
<p class="footer">
|
|
8871
|
-
Paper.js v0.12.
|
|
8872
|
-
Copyright © 2011—
|
|
8870
|
+
Paper.js v0.12.18<br>
|
|
8871
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
8873
8872
|
<div class="content-end"></div>
|
|
8874
8873
|
|
|
8875
8874
|
|
|
@@ -2314,8 +2314,8 @@
|
|
|
2314
2314
|
|
|
2315
2315
|
<!-- =========================== copyright notice ========================== -->
|
|
2316
2316
|
<p class="footer">
|
|
2317
|
-
Paper.js v0.12.
|
|
2318
|
-
Copyright © 2011—
|
|
2317
|
+
Paper.js v0.12.18<br>
|
|
2318
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
2319
2319
|
<div class="content-end"></div>
|
|
2320
2320
|
|
|
2321
2321
|
|
|
@@ -663,8 +663,8 @@
|
|
|
663
663
|
|
|
664
664
|
<!-- =========================== copyright notice ========================== -->
|
|
665
665
|
<p class="footer">
|
|
666
|
-
Paper.js v0.12.
|
|
667
|
-
Copyright © 2011—
|
|
666
|
+
Paper.js v0.12.18<br>
|
|
667
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
668
668
|
<div class="content-end"></div>
|
|
669
669
|
|
|
670
670
|
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
|
|
168
168
|
<!-- =========================== copyright notice ========================== -->
|
|
169
169
|
<p class="footer">
|
|
170
|
-
Paper.js v0.12.
|
|
171
|
-
Copyright © 2011—
|
|
170
|
+
Paper.js v0.12.18<br>
|
|
171
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
172
172
|
<div class="content-end"></div>
|
|
173
173
|
|
|
174
174
|
|
|
@@ -231,8 +231,8 @@ path.fillColor = {
|
|
|
231
231
|
|
|
232
232
|
<!-- =========================== copyright notice ========================== -->
|
|
233
233
|
<p class="footer">
|
|
234
|
-
Paper.js v0.12.
|
|
235
|
-
Copyright © 2011—
|
|
234
|
+
Paper.js v0.12.18<br>
|
|
235
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
236
236
|
<div class="content-end"></div>
|
|
237
237
|
|
|
238
238
|
|
|
@@ -264,8 +264,8 @@ function onFrame(event) {
|
|
|
264
264
|
|
|
265
265
|
<!-- =========================== copyright notice ========================== -->
|
|
266
266
|
<p class="footer">
|
|
267
|
-
Paper.js v0.12.
|
|
268
|
-
Copyright © 2011—
|
|
267
|
+
Paper.js v0.12.18<br>
|
|
268
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
269
269
|
<div class="content-end"></div>
|
|
270
270
|
|
|
271
271
|
|
|
@@ -1650,8 +1650,6 @@ group.firstChild.fillColor = 'green';
|
|
|
1650
1650
|
<div class="member-text">
|
|
1651
1651
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
1652
1652
|
|
|
1653
|
-
<p>Read only.</p>
|
|
1654
|
-
|
|
1655
1653
|
|
|
1656
1654
|
|
|
1657
1655
|
<ul class="member-list">
|
|
@@ -3804,6 +3802,7 @@ function onMouseDown(event) {
|
|
|
3804
3802
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
3805
3803
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
3806
3804
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
3805
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
3807
3806
|
</ul>
|
|
3808
3807
|
|
|
3809
3808
|
<ul class="member-list">
|
|
@@ -6855,8 +6854,8 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
|
|
|
6855
6854
|
|
|
6856
6855
|
<!-- =========================== copyright notice ========================== -->
|
|
6857
6856
|
<p class="footer">
|
|
6858
|
-
Paper.js v0.12.
|
|
6859
|
-
Copyright © 2011—
|
|
6857
|
+
Paper.js v0.12.18<br>
|
|
6858
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
6860
6859
|
<div class="content-end"></div>
|
|
6861
6860
|
|
|
6862
6861
|
|
|
@@ -230,8 +230,8 @@
|
|
|
230
230
|
|
|
231
231
|
<!-- =========================== copyright notice ========================== -->
|
|
232
232
|
<p class="footer">
|
|
233
|
-
Paper.js v0.12.
|
|
234
|
-
Copyright © 2011—
|
|
233
|
+
Paper.js v0.12.18<br>
|
|
234
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
235
235
|
<div class="content-end"></div>
|
|
236
236
|
|
|
237
237
|
|
|
@@ -1407,8 +1407,6 @@ group.firstChild.fillColor = 'green';
|
|
|
1407
1407
|
<div class="member-text">
|
|
1408
1408
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
1409
1409
|
|
|
1410
|
-
<p>Read only.</p>
|
|
1411
|
-
|
|
1412
1410
|
|
|
1413
1411
|
|
|
1414
1412
|
<ul class="member-list">
|
|
@@ -3565,6 +3563,7 @@ function onMouseDown(event) {
|
|
|
3565
3563
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
3566
3564
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
3567
3565
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
3566
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
3568
3567
|
</ul>
|
|
3569
3568
|
|
|
3570
3569
|
<ul class="member-list">
|
|
@@ -6619,8 +6618,8 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
|
|
|
6619
6618
|
|
|
6620
6619
|
<!-- =========================== copyright notice ========================== -->
|
|
6621
6620
|
<p class="footer">
|
|
6622
|
-
Paper.js v0.12.
|
|
6623
|
-
Copyright © 2011—
|
|
6621
|
+
Paper.js v0.12.18<br>
|
|
6622
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
6624
6623
|
<div class="content-end"></div>
|
|
6625
6624
|
|
|
6626
6625
|
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
|
|
131
131
|
<!-- =========================== copyright notice ========================== -->
|
|
132
132
|
<p class="footer">
|
|
133
|
-
Paper.js v0.12.
|
|
134
|
-
Copyright © 2011—
|
|
133
|
+
Paper.js v0.12.18<br>
|
|
134
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
135
135
|
<div class="content-end"></div>
|
|
136
136
|
|
|
137
137
|
|
|
@@ -299,8 +299,8 @@
|
|
|
299
299
|
|
|
300
300
|
<!-- =========================== copyright notice ========================== -->
|
|
301
301
|
<p class="footer">
|
|
302
|
-
Paper.js v0.12.
|
|
303
|
-
Copyright © 2011—
|
|
302
|
+
Paper.js v0.12.18<br>
|
|
303
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
304
304
|
<div class="content-end"></div>
|
|
305
305
|
|
|
306
306
|
|
|
@@ -1566,8 +1566,6 @@ group.firstChild.fillColor = 'green';
|
|
|
1566
1566
|
<div class="member-text">
|
|
1567
1567
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
1568
1568
|
|
|
1569
|
-
<p>Read only.</p>
|
|
1570
|
-
|
|
1571
1569
|
|
|
1572
1570
|
|
|
1573
1571
|
<ul class="member-list">
|
|
@@ -3720,6 +3718,7 @@ function onMouseDown(event) {
|
|
|
3720
3718
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
3721
3719
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
3722
3720
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
3721
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
3723
3722
|
</ul>
|
|
3724
3723
|
|
|
3725
3724
|
<ul class="member-list">
|
|
@@ -6841,8 +6840,8 @@ function onFrame(event) {
|
|
|
6841
6840
|
|
|
6842
6841
|
<!-- =========================== copyright notice ========================== -->
|
|
6843
6842
|
<p class="footer">
|
|
6844
|
-
Paper.js v0.12.
|
|
6845
|
-
Copyright © 2011—
|
|
6843
|
+
Paper.js v0.12.18<br>
|
|
6844
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
6846
6845
|
<div class="content-end"></div>
|
|
6847
6846
|
|
|
6848
6847
|
|
|
@@ -1735,8 +1735,8 @@ Array of <tt>Numbers</tt>
|
|
|
1735
1735
|
|
|
1736
1736
|
<!-- =========================== copyright notice ========================== -->
|
|
1737
1737
|
<p class="footer">
|
|
1738
|
-
Paper.js v0.12.
|
|
1739
|
-
Copyright © 2011—
|
|
1738
|
+
Paper.js v0.12.18<br>
|
|
1739
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
1740
1740
|
<div class="content-end"></div>
|
|
1741
1741
|
|
|
1742
1742
|
|
|
@@ -346,8 +346,8 @@
|
|
|
346
346
|
|
|
347
347
|
<!-- =========================== copyright notice ========================== -->
|
|
348
348
|
<p class="footer">
|
|
349
|
-
Paper.js v0.12.
|
|
350
|
-
Copyright © 2011—
|
|
349
|
+
Paper.js v0.12.18<br>
|
|
350
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
351
351
|
<div class="content-end"></div>
|
|
352
352
|
|
|
353
353
|
|
|
@@ -450,8 +450,8 @@
|
|
|
450
450
|
|
|
451
451
|
<!-- =========================== copyright notice ========================== -->
|
|
452
452
|
<p class="footer">
|
|
453
|
-
Paper.js v0.12.
|
|
454
|
-
Copyright © 2011—
|
|
453
|
+
Paper.js v0.12.18<br>
|
|
454
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
455
455
|
<div class="content-end"></div>
|
|
456
456
|
|
|
457
457
|
|
|
@@ -189,8 +189,8 @@
|
|
|
189
189
|
|
|
190
190
|
<!-- =========================== copyright notice ========================== -->
|
|
191
191
|
<p class="footer">
|
|
192
|
-
Paper.js v0.12.
|
|
193
|
-
Copyright © 2011—
|
|
192
|
+
Paper.js v0.12.18<br>
|
|
193
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
194
194
|
<div class="content-end"></div>
|
|
195
195
|
|
|
196
196
|
|
|
@@ -4721,8 +4721,6 @@ group.firstChild.fillColor = 'green';
|
|
|
4721
4721
|
<div class="member-text">
|
|
4722
4722
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
4723
4723
|
|
|
4724
|
-
<p>Read only.</p>
|
|
4725
|
-
|
|
4726
4724
|
|
|
4727
4725
|
|
|
4728
4726
|
<ul class="member-list">
|
|
@@ -6875,6 +6873,7 @@ function onMouseDown(event) {
|
|
|
6875
6873
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
6876
6874
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
6877
6875
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
6876
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
6878
6877
|
</ul>
|
|
6879
6878
|
|
|
6880
6879
|
<ul class="member-list">
|
|
@@ -11766,8 +11765,8 @@ path.smooth();
|
|
|
11766
11765
|
|
|
11767
11766
|
<!-- =========================== copyright notice ========================== -->
|
|
11768
11767
|
<p class="footer">
|
|
11769
|
-
Paper.js v0.12.
|
|
11770
|
-
Copyright © 2011—
|
|
11768
|
+
Paper.js v0.12.18<br>
|
|
11769
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
11771
11770
|
<div class="content-end"></div>
|
|
11772
11771
|
|
|
11773
11772
|
|
|
@@ -3425,8 +3425,6 @@ group.firstChild.fillColor = 'green';
|
|
|
3425
3425
|
<div class="member-text">
|
|
3426
3426
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
3427
3427
|
|
|
3428
|
-
<p>Read only.</p>
|
|
3429
|
-
|
|
3430
3428
|
|
|
3431
3429
|
|
|
3432
3430
|
<ul class="member-list">
|
|
@@ -5579,6 +5577,7 @@ function onMouseDown(event) {
|
|
|
5579
5577
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
5580
5578
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
5581
5579
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
5580
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
5582
5581
|
</ul>
|
|
5583
5582
|
|
|
5584
5583
|
<ul class="member-list">
|
|
@@ -8630,8 +8629,8 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
|
|
|
8630
8629
|
|
|
8631
8630
|
<!-- =========================== copyright notice ========================== -->
|
|
8632
8631
|
<p class="footer">
|
|
8633
|
-
Paper.js v0.12.
|
|
8634
|
-
Copyright © 2011—
|
|
8632
|
+
Paper.js v0.12.18<br>
|
|
8633
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
8635
8634
|
<div class="content-end"></div>
|
|
8636
8635
|
|
|
8637
8636
|
|
|
@@ -2690,8 +2690,8 @@ var point = maxPoint * randomPoint;</code></pre>
|
|
|
2690
2690
|
|
|
2691
2691
|
<!-- =========================== copyright notice ========================== -->
|
|
2692
2692
|
<p class="footer">
|
|
2693
|
-
Paper.js v0.12.
|
|
2694
|
-
Copyright © 2011—
|
|
2693
|
+
Paper.js v0.12.18<br>
|
|
2694
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
2695
2695
|
<div class="content-end"></div>
|
|
2696
2696
|
|
|
2697
2697
|
|
|
@@ -1573,8 +1573,6 @@ group.firstChild.fillColor = 'green';
|
|
|
1573
1573
|
<div class="member-text">
|
|
1574
1574
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
1575
1575
|
|
|
1576
|
-
<p>Read only.</p>
|
|
1577
|
-
|
|
1578
1576
|
|
|
1579
1577
|
|
|
1580
1578
|
<ul class="member-list">
|
|
@@ -3727,6 +3725,7 @@ function onMouseDown(event) {
|
|
|
3727
3725
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
3728
3726
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
3729
3727
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
3728
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
3730
3729
|
</ul>
|
|
3731
3730
|
|
|
3732
3731
|
<ul class="member-list">
|
|
@@ -7020,8 +7019,8 @@ function onMouseMove(event) {
|
|
|
7020
7019
|
|
|
7021
7020
|
<!-- =========================== copyright notice ========================== -->
|
|
7022
7021
|
<p class="footer">
|
|
7023
|
-
Paper.js v0.12.
|
|
7024
|
-
Copyright © 2011—
|
|
7022
|
+
Paper.js v0.12.18<br>
|
|
7023
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
7025
7024
|
<div class="content-end"></div>
|
|
7026
7025
|
|
|
7027
7026
|
|
|
@@ -1151,6 +1151,7 @@ for (var i = 0; i < items.length; i++) {
|
|
|
1151
1151
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
1152
1152
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
1153
1153
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
1154
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
1154
1155
|
</ul>
|
|
1155
1156
|
|
|
1156
1157
|
<ul class="member-list">
|
|
@@ -1296,8 +1297,8 @@ for (var i = 0; i < items.length; i++) {
|
|
|
1296
1297
|
|
|
1297
1298
|
<!-- =========================== copyright notice ========================== -->
|
|
1298
1299
|
<p class="footer">
|
|
1299
|
-
Paper.js v0.12.
|
|
1300
|
-
Copyright © 2011—
|
|
1300
|
+
Paper.js v0.12.18<br>
|
|
1301
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
1301
1302
|
<div class="content-end"></div>
|
|
1302
1303
|
|
|
1303
1304
|
|
|
@@ -2629,8 +2629,6 @@ group.firstChild.fillColor = 'green';
|
|
|
2629
2629
|
<div class="member-text">
|
|
2630
2630
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
2631
2631
|
|
|
2632
|
-
<p>Read only.</p>
|
|
2633
|
-
|
|
2634
2632
|
|
|
2635
2633
|
|
|
2636
2634
|
<ul class="member-list">
|
|
@@ -4783,6 +4781,7 @@ function onMouseDown(event) {
|
|
|
4783
4781
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
4784
4782
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
4785
4783
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
4784
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
4786
4785
|
</ul>
|
|
4787
4786
|
|
|
4788
4787
|
<ul class="member-list">
|
|
@@ -7834,8 +7833,8 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
|
|
|
7834
7833
|
|
|
7835
7834
|
<!-- =========================== copyright notice ========================== -->
|
|
7836
7835
|
<p class="footer">
|
|
7837
|
-
Paper.js v0.12.
|
|
7838
|
-
Copyright © 2011—
|
|
7836
|
+
Paper.js v0.12.18<br>
|
|
7837
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
7839
7838
|
<div class="content-end"></div>
|
|
7840
7839
|
|
|
7841
7840
|
|
|
@@ -1645,8 +1645,8 @@ intersectionPath.fillColor = 'red';
|
|
|
1645
1645
|
|
|
1646
1646
|
<!-- =========================== copyright notice ========================== -->
|
|
1647
1647
|
<p class="footer">
|
|
1648
|
-
Paper.js v0.12.
|
|
1649
|
-
Copyright © 2011—
|
|
1648
|
+
Paper.js v0.12.18<br>
|
|
1649
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
1650
1650
|
<div class="content-end"></div>
|
|
1651
1651
|
|
|
1652
1652
|
|
|
@@ -930,8 +930,8 @@ path.segments[2].selected = true;
|
|
|
930
930
|
|
|
931
931
|
<!-- =========================== copyright notice ========================== -->
|
|
932
932
|
<p class="footer">
|
|
933
|
-
Paper.js v0.12.
|
|
934
|
-
Copyright © 2011—
|
|
933
|
+
Paper.js v0.12.18<br>
|
|
934
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
935
935
|
<div class="content-end"></div>
|
|
936
936
|
|
|
937
937
|
|
|
@@ -2149,8 +2149,6 @@ group.firstChild.fillColor = 'green';
|
|
|
2149
2149
|
<div class="member-text">
|
|
2150
2150
|
<p>The index of this item within the list of its parent’s children.</p>
|
|
2151
2151
|
|
|
2152
|
-
<p>Read only.</p>
|
|
2153
|
-
|
|
2154
2152
|
|
|
2155
2153
|
|
|
2156
2154
|
<ul class="member-list">
|
|
@@ -4303,6 +4301,7 @@ function onMouseDown(event) {
|
|
|
4303
4301
|
<li><tt>options.precision: <tt>Number</tt></tt> — the amount of fractional digits in numbers used in SVG data — default: <tt>5</tt></li>
|
|
4304
4302
|
<li><tt>options.matchShapes: <tt>Boolean</tt></tt> — whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match — default: <tt>false</tt></li>
|
|
4305
4303
|
<li><tt>options.embedImages: <tt>Boolean</tt></tt> — whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. — default: <tt>true</tt></li>
|
|
4304
|
+
<li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> — wether to only include style attributes in the SVG output that differ from their parents, or to always include them (much faster but leading to redundancies). — default: <tt>true</tt></li>
|
|
4306
4305
|
</ul>
|
|
4307
4306
|
|
|
4308
4307
|
<ul class="member-list">
|
|
@@ -7354,8 +7353,8 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
|
|
|
7354
7353
|
|
|
7355
7354
|
<!-- =========================== copyright notice ========================== -->
|
|
7356
7355
|
<p class="footer">
|
|
7357
|
-
Paper.js v0.12.
|
|
7358
|
-
Copyright © 2011—
|
|
7356
|
+
Paper.js v0.12.18<br>
|
|
7357
|
+
Copyright © 2011—2024 <a href="http://www.lehni.org" target="_blank">Jürg Lehni</a> & <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
|
|
7359
7358
|
<div class="content-end"></div>
|
|
7360
7359
|
|
|
7361
7360
|
|