Fix for #248
parent
8c5eb95c50
commit
71ad308027
File diff suppressed because one or more lines are too long
|
@ -14,7 +14,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
//
|
||||||
// build: 2014-05-21
|
// build: 2014-05-22
|
||||||
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
|
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1768,9 +1768,13 @@ function getSomeDefs(el) {
|
||||||
}
|
}
|
||||||
return defs;
|
return defs;
|
||||||
}
|
}
|
||||||
|
function getSomeSVG(el) {
|
||||||
|
return el.node.ownerSVGElement && wrap(el.node.ownerSVGElement) || Snap.select("svg");
|
||||||
|
}
|
||||||
Snap._.getSomeDefs = getSomeDefs;
|
Snap._.getSomeDefs = getSomeDefs;
|
||||||
|
Snap._.getSomeSVG = getSomeSVG;
|
||||||
function unit2px(el, name, value) {
|
function unit2px(el, name, value) {
|
||||||
var svg = el.node.ownerSVGElement,
|
var svg = getSomeSVG(el),
|
||||||
out = {},
|
out = {},
|
||||||
mgr = svg.querySelector(".svg---mgr");
|
mgr = svg.querySelector(".svg---mgr");
|
||||||
if (!mgr) {
|
if (!mgr) {
|
||||||
|
@ -1786,7 +1790,11 @@ function unit2px(el, name, value) {
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
$(mgr, {width: val});
|
$(mgr, {width: val});
|
||||||
return mgr.getBBox().width;
|
try {
|
||||||
|
return mgr.getBBox().width;
|
||||||
|
} catch (e) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function getH(val) {
|
function getH(val) {
|
||||||
if (val == null) {
|
if (val == null) {
|
||||||
|
@ -1796,7 +1804,11 @@ function unit2px(el, name, value) {
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
$(mgr, {height: val});
|
$(mgr, {height: val});
|
||||||
return mgr.getBBox().height;
|
try {
|
||||||
|
return mgr.getBBox().height;
|
||||||
|
} catch (e) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function set(nam, f) {
|
function set(nam, f) {
|
||||||
if (name == null) {
|
if (name == null) {
|
||||||
|
@ -2044,6 +2056,9 @@ function arrayFirstValue(arr) {
|
||||||
o }
|
o }
|
||||||
\*/
|
\*/
|
||||||
elproto.getBBox = function (isWithoutTransform) {
|
elproto.getBBox = function (isWithoutTransform) {
|
||||||
|
if (!Snap.Matrix || !Snap.path) {
|
||||||
|
return this.getBBox();
|
||||||
|
}
|
||||||
var el = this,
|
var el = this,
|
||||||
m = new Snap.Matrix;
|
m = new Snap.Matrix;
|
||||||
if (el.removed) {
|
if (el.removed) {
|
||||||
|
@ -5194,8 +5209,8 @@ Snap.plugin(function (Snap, Element, Paper, glob) {
|
||||||
}
|
}
|
||||||
var l1 = bezlen.apply(0, bez1),
|
var l1 = bezlen.apply(0, bez1),
|
||||||
l2 = bezlen.apply(0, bez2),
|
l2 = bezlen.apply(0, bez2),
|
||||||
n1 = ~~(l1 / 5),
|
n1 = ~~(l1 / 15),
|
||||||
n2 = ~~(l2 / 5),
|
n2 = ~~(l2 / 15),
|
||||||
dots1 = [],
|
dots1 = [],
|
||||||
dots2 = [],
|
dots2 = [],
|
||||||
xy = {},
|
xy = {},
|
||||||
|
|
|
@ -2610,7 +2610,7 @@ Parses given transform string into an array of transformations
|
||||||
|
|
||||||
<article id="Snap.select">
|
<article id="Snap.select">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.select(query)<a href="#Snap.select" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1106 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1106">➭</a></h3>
|
<h3 class="dr-method">Snap.select(query)<a href="#Snap.select" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1118 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1118">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.select-extra"></div>
|
<div class="extra" id="Snap.select-extra"></div>
|
||||||
|
@ -2670,7 +2670,7 @@ Parses given transform string into an array of transformations
|
||||||
|
|
||||||
<article id="Snap.selectAll">
|
<article id="Snap.selectAll">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.selectAll(query)<a href="#Snap.selectAll" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1117 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1117">➭</a></h3>
|
<h3 class="dr-method">Snap.selectAll(query)<a href="#Snap.selectAll" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1129 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1129">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.selectAll-extra"></div>
|
<div class="extra" id="Snap.selectAll-extra"></div>
|
||||||
|
@ -2730,7 +2730,7 @@ Parses given transform string into an array of transformations
|
||||||
|
|
||||||
<article id="Element.node">
|
<article id="Element.node">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-property">Element.node(x, y, width, height, refX, refY)<a href="#Element.node" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1180 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1180">➭</a></h3>
|
<h3 class="dr-property">Element.node(x, y, width, height, refX, refY)<a href="#Element.node" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1192 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1192">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.node-extra"></div>
|
<div class="extra" id="Element.node-extra"></div>
|
||||||
|
@ -2781,7 +2781,7 @@ c.node.onclick = function () {
|
||||||
|
|
||||||
<article id="Element.type">
|
<article id="Element.type">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-property">Element.type(tstr)<a href="#Element.type" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1190 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1190">➭</a></h3>
|
<h3 class="dr-property">Element.type(tstr)<a href="#Element.type" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1202 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1202">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.type-extra"></div>
|
<div class="extra" id="Element.type-extra"></div>
|
||||||
|
@ -2806,7 +2806,7 @@ c.node.onclick = function () {
|
||||||
|
|
||||||
<article id="Element.attr">
|
<article id="Element.attr">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.attr(…)<a href="#Element.attr" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1241 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1241">➭</a></h3>
|
<h3 class="dr-method">Element.attr(…)<a href="#Element.attr" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1253 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1253">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.attr-extra"></div>
|
<div class="extra" id="Element.attr-extra"></div>
|
||||||
|
@ -2965,7 +2965,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.getBBox">
|
<article id="Element.getBBox">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.getBBox()<a href="#Element.getBBox" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1288 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1288">➭</a></h3>
|
<h3 class="dr-method">Element.getBBox()<a href="#Element.getBBox" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1300 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1300">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.getBBox-extra"></div>
|
<div class="extra" id="Element.getBBox-extra"></div>
|
||||||
|
@ -3147,7 +3147,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.transform">
|
<article id="Element.transform">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.transform(tstr)<a href="#Element.transform" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1345 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1345">➭</a></h3>
|
<h3 class="dr-method">Element.transform(tstr)<a href="#Element.transform" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1360 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1360">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.transform-extra"></div>
|
<div class="extra" id="Element.transform-extra"></div>
|
||||||
|
@ -3311,7 +3311,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.parent">
|
<article id="Element.parent">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.parent()<a href="#Element.parent" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1402 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1402">➭</a></h3>
|
<h3 class="dr-method">Element.parent()<a href="#Element.parent" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1417 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1417">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.parent-extra"></div>
|
<div class="extra" id="Element.parent-extra"></div>
|
||||||
|
@ -3353,7 +3353,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.append">
|
<article id="Element.append">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.append(el)<a href="#Element.append" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1414 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1414">➭</a></h3>
|
<h3 class="dr-method">Element.append(el)<a href="#Element.append" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1429 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1429">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.append-extra"></div>
|
<div class="extra" id="Element.append-extra"></div>
|
||||||
|
@ -3413,7 +3413,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.add">
|
<article id="Element.add">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.add()<a href="#Element.add" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1420 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1420">➭</a></h3>
|
<h3 class="dr-method">Element.add()<a href="#Element.add" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1435 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1435">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.add-extra"></div>
|
<div class="extra" id="Element.add-extra"></div>
|
||||||
|
@ -3438,7 +3438,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.appendTo">
|
<article id="Element.appendTo">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.appendTo(el)<a href="#Element.appendTo" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1444 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1444">➭</a></h3>
|
<h3 class="dr-method">Element.appendTo(el)<a href="#Element.appendTo" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1459 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1459">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.appendTo-extra"></div>
|
<div class="extra" id="Element.appendTo-extra"></div>
|
||||||
|
@ -3498,7 +3498,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.prepend">
|
<article id="Element.prepend">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.prepend(el)<a href="#Element.prepend" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1460 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1460">➭</a></h3>
|
<h3 class="dr-method">Element.prepend(el)<a href="#Element.prepend" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1475 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1475">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.prepend-extra"></div>
|
<div class="extra" id="Element.prepend-extra"></div>
|
||||||
|
@ -3558,7 +3558,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.prependTo">
|
<article id="Element.prependTo">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.prependTo(el)<a href="#Element.prependTo" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1494 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1494">➭</a></h3>
|
<h3 class="dr-method">Element.prependTo(el)<a href="#Element.prependTo" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1509 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1509">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.prependTo-extra"></div>
|
<div class="extra" id="Element.prependTo-extra"></div>
|
||||||
|
@ -3618,7 +3618,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.before">
|
<article id="Element.before">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.before(el)<a href="#Element.before" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1508 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1508">➭</a></h3>
|
<h3 class="dr-method">Element.before(el)<a href="#Element.before" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1523 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1523">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.before-extra"></div>
|
<div class="extra" id="Element.before-extra"></div>
|
||||||
|
@ -3678,7 +3678,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.after">
|
<article id="Element.after">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.after(el)<a href="#Element.after" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1536 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1536">➭</a></h3>
|
<h3 class="dr-method">Element.after(el)<a href="#Element.after" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1551 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1551">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.after-extra"></div>
|
<div class="extra" id="Element.after-extra"></div>
|
||||||
|
@ -3738,7 +3738,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.insertBefore">
|
<article id="Element.insertBefore">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.insertBefore(el)<a href="#Element.insertBefore" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1558 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1558">➭</a></h3>
|
<h3 class="dr-method">Element.insertBefore(el)<a href="#Element.insertBefore" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1573 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1573">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.insertBefore-extra"></div>
|
<div class="extra" id="Element.insertBefore-extra"></div>
|
||||||
|
@ -3798,7 +3798,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.insertAfter">
|
<article id="Element.insertAfter">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.insertAfter(el)<a href="#Element.insertAfter" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1576 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1576">➭</a></h3>
|
<h3 class="dr-method">Element.insertAfter(el)<a href="#Element.insertAfter" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1591 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1591">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.insertAfter-extra"></div>
|
<div class="extra" id="Element.insertAfter-extra"></div>
|
||||||
|
@ -3858,7 +3858,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.remove">
|
<article id="Element.remove">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.remove()<a href="#Element.remove" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1592 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1592">➭</a></h3>
|
<h3 class="dr-method">Element.remove()<a href="#Element.remove" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1607 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1607">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.remove-extra"></div>
|
<div class="extra" id="Element.remove-extra"></div>
|
||||||
|
@ -3900,7 +3900,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.select">
|
<article id="Element.select">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.select(query)<a href="#Element.select" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1609 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1609">➭</a></h3>
|
<h3 class="dr-method">Element.select(query)<a href="#Element.select" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1624 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1624">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.select-extra"></div>
|
<div class="extra" id="Element.select-extra"></div>
|
||||||
|
@ -3960,7 +3960,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.selectAll">
|
<article id="Element.selectAll">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.selectAll(query)<a href="#Element.selectAll" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1621 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1621">➭</a></h3>
|
<h3 class="dr-method">Element.selectAll(query)<a href="#Element.selectAll" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1636 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1636">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.selectAll-extra"></div>
|
<div class="extra" id="Element.selectAll-extra"></div>
|
||||||
|
@ -4022,7 +4022,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.asPX">
|
<article id="Element.asPX">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.asPX(attr, [value])<a href="#Element.asPX" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1639 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1639">➭</a></h3>
|
<h3 class="dr-method">Element.asPX(attr, [value])<a href="#Element.asPX" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1654 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1654">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.asPX-extra"></div>
|
<div class="extra" id="Element.asPX-extra"></div>
|
||||||
|
@ -4085,7 +4085,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.use">
|
<article id="Element.use">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.use()<a href="#Element.use" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1654 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1654">➭</a></h3>
|
<h3 class="dr-method">Element.use()<a href="#Element.use" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1669 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1669">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.use-extra"></div>
|
<div class="extra" id="Element.use-extra"></div>
|
||||||
|
@ -4127,7 +4127,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.clone">
|
<article id="Element.clone">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.clone()<a href="#Element.clone" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1683 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1683">➭</a></h3>
|
<h3 class="dr-method">Element.clone()<a href="#Element.clone" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1698 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1698">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.clone-extra"></div>
|
<div class="extra" id="Element.clone-extra"></div>
|
||||||
|
@ -4169,7 +4169,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.toDefs">
|
<article id="Element.toDefs">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.toDefs()<a href="#Element.toDefs" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1854 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1854">➭</a></h3>
|
<h3 class="dr-method">Element.toDefs()<a href="#Element.toDefs" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1869 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1869">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.toDefs-extra"></div>
|
<div class="extra" id="Element.toDefs-extra"></div>
|
||||||
|
@ -4211,7 +4211,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.pattern">
|
<article id="Element.pattern">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.pattern()<a href="#Element.pattern" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1865 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1865">➭</a></h3>
|
<h3 class="dr-method">Element.pattern()<a href="#Element.pattern" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1880 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1880">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.pattern-extra"></div>
|
<div class="extra" id="Element.pattern-extra"></div>
|
||||||
|
@ -4236,7 +4236,7 @@ and <code>-</code>: <code>"+=2em"</code>.
|
||||||
|
|
||||||
<article id="Element.toPattern">
|
<article id="Element.toPattern">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.toPattern(x, y, width, height)<a href="#Element.toPattern" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1888 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1888">➭</a></h3>
|
<h3 class="dr-method">Element.toPattern(x, y, width, height)<a href="#Element.toPattern" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1903 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1903">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.toPattern-extra"></div>
|
<div class="extra" id="Element.toPattern-extra"></div>
|
||||||
|
@ -4336,7 +4336,7 @@ c.attr({
|
||||||
|
|
||||||
<article id="Element.marker">
|
<article id="Element.marker">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.marker(x, y, width, height, refX, refY)<a href="#Element.marker" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1929 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1929">➭</a></h3>
|
<h3 class="dr-method">Element.marker(x, y, width, height, refX, refY)<a href="#Element.marker" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1944 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1944">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.marker-extra"></div>
|
<div class="extra" id="Element.marker-extra"></div>
|
||||||
|
@ -4423,7 +4423,7 @@ To create a marker you have to specify the bounding rect and reference point:
|
||||||
|
|
||||||
<article id="Snap.animation">
|
<article id="Snap.animation">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.animation(attr, duration, [easing], [callback])<a href="#Snap.animation" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 1988 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L1988">➭</a></h3>
|
<h3 class="dr-method">Snap.animation(attr, duration, [easing], [callback])<a href="#Snap.animation" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2003 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2003">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.animation-extra"></div>
|
<div class="extra" id="Snap.animation-extra"></div>
|
||||||
|
@ -4492,7 +4492,7 @@ To create a marker you have to specify the bounding rect and reference point:
|
||||||
|
|
||||||
<article id="Element.inAnim">
|
<article id="Element.inAnim">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.inAnim()<a href="#Element.inAnim" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2006 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2006">➭</a></h3>
|
<h3 class="dr-method">Element.inAnim()<a href="#Element.inAnim" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2021 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2021">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.inAnim-extra"></div>
|
<div class="extra" id="Element.inAnim-extra"></div>
|
||||||
|
@ -4594,7 +4594,7 @@ To create a marker you have to specify the bounding rect and reference point:
|
||||||
|
|
||||||
<article id="Snap.animate">
|
<article id="Snap.animate">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.animate(from, to, setter, duration, [easing], [callback])<a href="#Snap.animate" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2056 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2056">➭</a></h3>
|
<h3 class="dr-method">Snap.animate(from, to, setter, duration, [easing], [callback])<a href="#Snap.animate" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2071 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2071">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.animate-extra"></div>
|
<div class="extra" id="Snap.animate-extra"></div>
|
||||||
|
@ -4755,7 +4755,7 @@ rect.animate({x: 10}, 1000);</code></pre></section>
|
||||||
|
|
||||||
<article id="Element.stop">
|
<article id="Element.stop">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.stop()<a href="#Element.stop" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2074 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2074">➭</a></h3>
|
<h3 class="dr-method">Element.stop()<a href="#Element.stop" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2089 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2089">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.stop-extra"></div>
|
<div class="extra" id="Element.stop-extra"></div>
|
||||||
|
@ -4797,7 +4797,7 @@ rect.animate({x: 10}, 1000);</code></pre></section>
|
||||||
|
|
||||||
<article id="Element.animate">
|
<article id="Element.animate">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.animate(attrs, duration, [easing], [callback])<a href="#Element.animate" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2093 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2093">➭</a></h3>
|
<h3 class="dr-method">Element.animate(attrs, duration, [easing], [callback])<a href="#Element.animate" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2108 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2108">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.animate-extra"></div>
|
<div class="extra" id="Element.animate-extra"></div>
|
||||||
|
@ -4866,7 +4866,7 @@ rect.animate({x: 10}, 1000);</code></pre></section>
|
||||||
|
|
||||||
<article id="Element.data">
|
<article id="Element.data">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.data(key, [value])<a href="#Element.data" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2166 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2166">➭</a></h3>
|
<h3 class="dr-method">Element.data(key, [value])<a href="#Element.data" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2181 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2181">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.data-extra"></div>
|
<div class="extra" id="Element.data-extra"></div>
|
||||||
|
@ -4988,7 +4988,7 @@ with <code>data-</code> attributes)
|
||||||
|
|
||||||
<article id="Element.removeData">
|
<article id="Element.removeData">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.removeData([key])<a href="#Element.removeData" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2195 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2195">➭</a></h3>
|
<h3 class="dr-method">Element.removeData([key])<a href="#Element.removeData" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2210 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2210">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.removeData-extra"></div>
|
<div class="extra" id="Element.removeData-extra"></div>
|
||||||
|
@ -5049,7 +5049,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Element.outerSVG">
|
<article id="Element.outerSVG">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.outerSVG()<a href="#Element.outerSVG" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2212 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2212">➭</a></h3>
|
<h3 class="dr-method">Element.outerSVG()<a href="#Element.outerSVG" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2227 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2227">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.outerSVG-extra"></div>
|
<div class="extra" id="Element.outerSVG-extra"></div>
|
||||||
|
@ -5092,7 +5092,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Element.toString">
|
<article id="Element.toString">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.toString()<a href="#Element.toString" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2218 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2218">➭</a></h3>
|
<h3 class="dr-method">Element.toString()<a href="#Element.toString" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2233 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2233">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.toString-extra"></div>
|
<div class="extra" id="Element.toString-extra"></div>
|
||||||
|
@ -5117,7 +5117,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Element.innerSVG">
|
<article id="Element.innerSVG">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.innerSVG()<a href="#Element.innerSVG" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2226 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2226">➭</a></h3>
|
<h3 class="dr-method">Element.innerSVG()<a href="#Element.innerSVG" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2241 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2241">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.innerSVG-extra"></div>
|
<div class="extra" id="Element.innerSVG-extra"></div>
|
||||||
|
@ -5159,7 +5159,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Snap.parse">
|
<article id="Snap.parse">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.parse(svg)<a href="#Snap.parse" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2264 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2264">➭</a></h3>
|
<h3 class="dr-method">Snap.parse(svg)<a href="#Snap.parse" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2279 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2279">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.parse-extra"></div>
|
<div class="extra" id="Snap.parse-extra"></div>
|
||||||
|
@ -5219,7 +5219,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Fragment.select">
|
<article id="Fragment.select">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Fragment.select()<a href="#Fragment.select" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2296 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2296">➭</a></h3>
|
<h3 class="dr-method">Fragment.select()<a href="#Fragment.select" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2311 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2311">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Fragment.select-extra"></div>
|
<div class="extra" id="Fragment.select-extra"></div>
|
||||||
|
@ -5244,7 +5244,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Fragment.selectAll">
|
<article id="Fragment.selectAll">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Fragment.selectAll()<a href="#Fragment.selectAll" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2303 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2303">➭</a></h3>
|
<h3 class="dr-method">Fragment.selectAll()<a href="#Fragment.selectAll" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2318 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2318">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Fragment.selectAll-extra"></div>
|
<div class="extra" id="Fragment.selectAll-extra"></div>
|
||||||
|
@ -5269,7 +5269,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Snap.fragment">
|
<article id="Snap.fragment">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.fragment(varargs)<a href="#Snap.fragment" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2314 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2314">➭</a></h3>
|
<h3 class="dr-method">Snap.fragment(varargs)<a href="#Snap.fragment" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2329 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2329">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.fragment-extra"></div>
|
<div class="extra" id="Snap.fragment-extra"></div>
|
||||||
|
@ -5329,7 +5329,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="Paper.el">
|
<article id="Paper.el">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.el(name, attr)<a href="#Paper.el" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2417 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2417">➭</a></h3>
|
<h3 class="dr-method">Paper.el(name, attr)<a href="#Paper.el" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2432 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2432">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.el-extra"></div>
|
<div class="extra" id="Paper.el-extra"></div>
|
||||||
|
@ -5425,7 +5425,7 @@ var c = paper.el("circle", {
|
||||||
|
|
||||||
<article id="Snap.ajax">
|
<article id="Snap.ajax">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.ajax(…)<a href="#Snap.ajax" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2535 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2535">➭</a></h3>
|
<h3 class="dr-method">Snap.ajax(…)<a href="#Snap.ajax" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2550 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2550">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.ajax-extra"></div>
|
<div class="extra" id="Snap.ajax-extra"></div>
|
||||||
|
@ -5529,7 +5529,7 @@ var c = paper.el("circle", {
|
||||||
|
|
||||||
<article id="Snap.load">
|
<article id="Snap.load">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.load(url, callback, [scope])<a href="#Snap.load" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2581 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2581">➭</a></h3>
|
<h3 class="dr-method">Snap.load(url, callback, [scope])<a href="#Snap.load" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2596 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2596">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.load-extra"></div>
|
<div class="extra" id="Snap.load-extra"></div>
|
||||||
|
@ -5578,7 +5578,7 @@ var c = paper.el("circle", {
|
||||||
|
|
||||||
<article id="Snap.getElementByPoint">
|
<article id="Snap.getElementByPoint">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.getElementByPoint(x, y)<a href="#Snap.getElementByPoint" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2612 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2612">➭</a></h3>
|
<h3 class="dr-method">Snap.getElementByPoint(x, y)<a href="#Snap.getElementByPoint" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2627 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2627">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.getElementByPoint-extra"></div>
|
<div class="extra" id="Snap.getElementByPoint-extra"></div>
|
||||||
|
@ -5663,7 +5663,7 @@ var c = paper.el("circle", {
|
||||||
|
|
||||||
<article id="Snap.plugin">
|
<article id="Snap.plugin">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Snap.plugin(f)<a href="#Snap.plugin" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2647 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2647">➭</a></h3>
|
<h3 class="dr-method">Snap.plugin(f)<a href="#Snap.plugin" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2662 in the source" href="https://github.com/adobe-webplatform/Snap.svg/blob/master/src/svg.js#L2662">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.plugin-extra"></div>
|
<div class="extra" id="Snap.plugin-extra"></div>
|
||||||
|
|
|
@ -300,8 +300,8 @@ Snap.plugin(function (Snap, Element, Paper, glob) {
|
||||||
}
|
}
|
||||||
var l1 = bezlen.apply(0, bez1),
|
var l1 = bezlen.apply(0, bez1),
|
||||||
l2 = bezlen.apply(0, bez2),
|
l2 = bezlen.apply(0, bez2),
|
||||||
n1 = ~~(l1 / 5),
|
n1 = ~~(l1 / 15),
|
||||||
n2 = ~~(l2 / 5),
|
n2 = ~~(l2 / 15),
|
||||||
dots1 = [],
|
dots1 = [],
|
||||||
dots2 = [],
|
dots2 = [],
|
||||||
xy = {},
|
xy = {},
|
||||||
|
|
Loading…
Reference in New Issue