paper 0.12.17 → 0.12.19

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/dist/docs/assets/js/paper.js +107 -61
  3. package/dist/docs/classes/Color.html +2 -2
  4. package/dist/docs/classes/CompoundPath.html +3 -4
  5. package/dist/docs/classes/Curve.html +2 -2
  6. package/dist/docs/classes/CurveLocation.html +2 -2
  7. package/dist/docs/classes/Event.html +2 -2
  8. package/dist/docs/classes/Gradient.html +2 -2
  9. package/dist/docs/classes/GradientStop.html +2 -2
  10. package/dist/docs/classes/Group.html +3 -4
  11. package/dist/docs/classes/HitResult.html +2 -2
  12. package/dist/docs/classes/Item.html +3 -4
  13. package/dist/docs/classes/Key.html +2 -2
  14. package/dist/docs/classes/KeyEvent.html +2 -2
  15. package/dist/docs/classes/Layer.html +3 -4
  16. package/dist/docs/classes/Matrix.html +2 -2
  17. package/dist/docs/classes/MouseEvent.html +2 -2
  18. package/dist/docs/classes/PaperScope.html +2 -2
  19. package/dist/docs/classes/PaperScript.html +2 -2
  20. package/dist/docs/classes/Path.html +3 -4
  21. package/dist/docs/classes/PathItem.html +3 -4
  22. package/dist/docs/classes/Point.html +2 -2
  23. package/dist/docs/classes/PointText.html +3 -4
  24. package/dist/docs/classes/Project.html +3 -2
  25. package/dist/docs/classes/Raster.html +3 -4
  26. package/dist/docs/classes/Rectangle.html +2 -2
  27. package/dist/docs/classes/Segment.html +2 -2
  28. package/dist/docs/classes/Shape.html +3 -4
  29. package/dist/docs/classes/Size.html +2 -2
  30. package/dist/docs/classes/Style.html +2 -2
  31. package/dist/docs/classes/SymbolDefinition.html +2 -2
  32. package/dist/docs/classes/SymbolItem.html +3 -4
  33. package/dist/docs/classes/TextItem.html +3 -4
  34. package/dist/docs/classes/Tool.html +2 -2
  35. package/dist/docs/classes/ToolEvent.html +2 -2
  36. package/dist/docs/classes/Tween.html +2 -2
  37. package/dist/docs/classes/View.html +3 -3
  38. package/dist/docs/classes/global.html +2 -2
  39. package/dist/docs/classes/index.html +2 -2
  40. package/dist/docs/index.html +1 -1
  41. package/dist/paper-core.js +106 -60
  42. package/dist/paper-core.min.js +3 -3
  43. package/dist/paper-full.js +107 -61
  44. package/dist/paper-full.min.js +3 -3
  45. package/dist/paper.d.ts +10 -4
  46. package/package.json +8 -5
@@ -189,8 +189,8 @@
189
189
 
190
190
  <!-- =========================== copyright notice ========================== -->
191
191
  <p class="footer">
192
- Paper.js v0.12.17<br>
193
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
192
+ Paper.js v0.12.19<br>
193
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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&rsquo;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> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
6876
6874
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
6877
6875
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
6876
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;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.17<br>
11770
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
11768
+ Paper.js v0.12.19<br>
11769
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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&rsquo;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> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
5580
5578
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
5581
5579
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
5580
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;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.17<br>
8634
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
8632
+ Paper.js v0.12.19<br>
8633
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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.17<br>
2694
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
2693
+ Paper.js v0.12.19<br>
2694
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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&rsquo;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> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
3728
3726
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
3729
3727
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
3728
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;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.17<br>
7024
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
7022
+ Paper.js v0.12.19<br>
7023
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
1152
1152
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
1153
1153
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
1154
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;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.17<br>
1300
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
1300
+ Paper.js v0.12.19<br>
1301
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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&rsquo;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> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
4784
4782
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
4785
4783
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
4784
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;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.17<br>
7838
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
7836
+ Paper.js v0.12.19<br>
7837
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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.17<br>
1649
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
1648
+ Paper.js v0.12.19<br>
1649
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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.17<br>
934
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
933
+ Paper.js v0.12.19<br>
934
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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&rsquo;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> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
4304
4302
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
4305
4303
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
4304
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;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.17<br>
7358
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
7356
+ Paper.js v0.12.19<br>
7357
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <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
 
@@ -1816,8 +1816,8 @@ var size = maxSize * randomSize;</code></pre>
1816
1816
 
1817
1817
  <!-- =========================== copyright notice ========================== -->
1818
1818
  <p class="footer">
1819
- Paper.js v0.12.17<br>
1820
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
1819
+ Paper.js v0.12.19<br>
1820
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
1821
1821
  <div class="content-end"></div>
1822
1822
 
1823
1823
 
@@ -910,8 +910,8 @@ var circle = new Path.Circle({
910
910
 
911
911
  <!-- =========================== copyright notice ========================== -->
912
912
  <p class="footer">
913
- Paper.js v0.12.17<br>
914
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
913
+ Paper.js v0.12.19<br>
914
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
915
915
  <div class="content-end"></div>
916
916
 
917
917
 
@@ -302,8 +302,8 @@ for (var i = 0; i < 100; i++) {
302
302
 
303
303
  <!-- =========================== copyright notice ========================== -->
304
304
  <p class="footer">
305
- Paper.js v0.12.17<br>
306
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
305
+ Paper.js v0.12.19<br>
306
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
307
307
  <div class="content-end"></div>
308
308
 
309
309
 
@@ -1541,8 +1541,6 @@ group.firstChild.fillColor = 'green';
1541
1541
  <div class="member-text">
1542
1542
  <p>The index of this item within the list of its parent&rsquo;s children.</p>
1543
1543
 
1544
- <p>Read only.</p>
1545
-
1546
1544
 
1547
1545
 
1548
1546
  <ul class="member-list">
@@ -3695,6 +3693,7 @@ function onMouseDown(event) {
3695
3693
  <li><tt>options.precision: <tt>Number</tt></tt> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
3696
3694
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
3697
3695
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
3696
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;default: <tt>true</tt></li>
3698
3697
  </ul>
3699
3698
 
3700
3699
  <ul class="member-list">
@@ -6746,8 +6745,8 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
6746
6745
 
6747
6746
  <!-- =========================== copyright notice ========================== -->
6748
6747
  <p class="footer">
6749
- Paper.js v0.12.17<br>
6750
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
6748
+ Paper.js v0.12.19<br>
6749
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
6751
6750
  <div class="content-end"></div>
6752
6751
 
6753
6752
 
@@ -1655,8 +1655,6 @@ group.firstChild.fillColor = 'green';
1655
1655
  <div class="member-text">
1656
1656
  <p>The index of this item within the list of its parent&rsquo;s children.</p>
1657
1657
 
1658
- <p>Read only.</p>
1659
-
1660
1658
 
1661
1659
 
1662
1660
  <ul class="member-list">
@@ -3809,6 +3807,7 @@ function onMouseDown(event) {
3809
3807
  <li><tt>options.precision: <tt>Number</tt></tt> &mdash; the amount of fractional digits in numbers used in SVG data &mdash;&nbsp;default: <tt>5</tt></li>
3810
3808
  <li><tt>options.matchShapes: <tt>Boolean</tt></tt> &mdash; whether path items should tried to be converted to SVG shape items (rect, circle, ellipse, line, polyline, polygon), if their geometries match &mdash;&nbsp;default: <tt>false</tt></li>
3811
3809
  <li><tt>options.embedImages: <tt>Boolean</tt></tt> &mdash; whether raster images should be embedded as base64 data inlined in the xlink:href attribute, or kept as a link to their external URL. &mdash;&nbsp;default: <tt>true</tt></li>
3810
+ <li><tt>options.reduceAttributes: <tt>Boolean</tt></tt> &mdash; 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). &mdash;&nbsp;default: <tt>true</tt></li>
3812
3811
  </ul>
3813
3812
 
3814
3813
  <ul class="member-list">
@@ -6860,8 +6859,8 @@ path.tweenFrom({ fillColor: 'red' }, { duration: 1000 });
6860
6859
 
6861
6860
  <!-- =========================== copyright notice ========================== -->
6862
6861
  <p class="footer">
6863
- Paper.js v0.12.17<br>
6864
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
6862
+ Paper.js v0.12.19<br>
6863
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
6865
6864
  <div class="content-end"></div>
6866
6865
 
6867
6866
 
@@ -752,8 +752,8 @@ tool.onKeyDown = function(event) {
752
752
 
753
753
  <!-- =========================== copyright notice ========================== -->
754
754
  <p class="footer">
755
- Paper.js v0.12.17<br>
756
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
755
+ Paper.js v0.12.19<br>
756
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
757
757
  <div class="content-end"></div>
758
758
 
759
759
 
@@ -437,8 +437,8 @@ function onMouseUp(event) {
437
437
 
438
438
  <!-- =========================== copyright notice ========================== -->
439
439
  <p class="footer">
440
- Paper.js v0.12.17<br>
441
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
440
+ Paper.js v0.12.19<br>
441
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
442
442
  <div class="content-end"></div>
443
443
 
444
444
 
@@ -365,8 +365,8 @@ setTimeout(function(){
365
365
 
366
366
  <!-- =========================== copyright notice ========================== -->
367
367
  <p class="footer">
368
- Paper.js v0.12.17<br>
369
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
368
+ Paper.js v0.12.19<br>
369
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
370
370
  <div class="content-end"></div>
371
371
 
372
372
 
@@ -117,7 +117,7 @@
117
117
  <div class="member-description hidden">
118
118
 
119
119
  <div class="member-text">
120
- <p>The resoltuion of the underlying canvas / device in pixel per inch (DPI). It is <code>72</code> for normal displays, and <code>144</code> for high-resolution displays with a pixel-ratio of <code>2</code>.</p>
120
+ <p>The resolution of the underlying canvas / device in pixel per inch (DPI). It is <code>72</code> for normal displays, and <code>144</code> for high-resolution displays with a pixel-ratio of <code>2</code>.</p>
121
121
 
122
122
  <p>Read only.</p>
123
123
 
@@ -1763,8 +1763,8 @@ function onMouseDown(event) {
1763
1763
 
1764
1764
  <!-- =========================== copyright notice ========================== -->
1765
1765
  <p class="footer">
1766
- Paper.js v0.12.17<br>
1767
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
1766
+ Paper.js v0.12.19<br>
1767
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
1768
1768
  <div class="content-end"></div>
1769
1769
 
1770
1770
 
@@ -416,8 +416,8 @@
416
416
 
417
417
  <!-- =========================== copyright notice ========================== -->
418
418
  <p class="footer">
419
- Paper.js v0.12.17<br>
420
- Copyright &#169; 2011—2022 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
419
+ Paper.js v0.12.19<br>
420
+ Copyright &#169; 2011—2026 <a href="http://www.lehni.org" target="_blank">J&uuml;rg Lehni</a> &amp; <a href="http://www.jonathanpuckey.com" target="_blank">Jonathan Puckey</a>. All Rights Reserved.</p>
421
421
  <div class="content-end"></div>
422
422
 
423
423
 
@@ -2,13 +2,13 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
- <title>Paper.js v0.12.17</title>
5
+ <title>Paper.js v0.12.19</title>
6
6
  <base target="class-frame">
7
7
  <link href="../assets/css/docs.css" rel="stylesheet" type="text/css">
8
8
  </head>
9
9
  <body class="reference">
10
10
  <div class="reference-index">
11
- <h1>Paper.js<span class="version">0.12.17</span></h1>
11
+ <h1>Paper.js<span class="version">0.12.19</span></h1>
12
12
  <ul class="reference-classes"><li><a href="../classes/global.html">Global Scope</a></li>
13
13
  <li>
14
14
  <h2>Basic Types</h2>
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
- <title>Paper.js v0.12.17</title>
5
+ <title>Paper.js v0.12.19</title>
6
6
  </head>
7
7
  <frameset cols="230,*">
8
8
  <frame src="classes/index.html" name="packageListFrame" title="All Packages">