Merge
parent
b591b3b0a7
commit
4d9fd5ef7a
File diff suppressed because one or more lines are too long
|
@ -2032,7 +2032,8 @@ function getSomeDefs(el) {
|
||||||
(el.node.parentNode && wrap(el.node.parentNode)) ||
|
(el.node.parentNode && wrap(el.node.parentNode)) ||
|
||||||
Snap.select("svg") ||
|
Snap.select("svg") ||
|
||||||
Snap(0, 0),
|
Snap(0, 0),
|
||||||
defs = p.select("defs").node;
|
pdefs = p.select("defs"),
|
||||||
|
defs = pdefs == null ? false : pdefs.node;
|
||||||
if (!defs) {
|
if (!defs) {
|
||||||
defs = make("defs", p.node).node;
|
defs = make("defs", p.node).node;
|
||||||
}
|
}
|
||||||
|
@ -2172,6 +2173,7 @@ function add2group(list) {
|
||||||
for (i = 0; i < children.length; i++) {
|
for (i = 0; i < children.length; i++) {
|
||||||
this[j++] = wrap(children[i]);
|
this[j++] = wrap(children[i]);
|
||||||
}
|
}
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
function Element(el) {
|
function Element(el) {
|
||||||
if (el.snap in hub) {
|
if (el.snap in hub) {
|
||||||
|
@ -3026,6 +3028,10 @@ function arrayFirstValue(arr) {
|
||||||
\*/
|
\*/
|
||||||
elproto.data = function (key, value) {
|
elproto.data = function (key, value) {
|
||||||
var data = eldata[this.id] = eldata[this.id] || {};
|
var data = eldata[this.id] = eldata[this.id] || {};
|
||||||
|
if (arguments.length == 0){
|
||||||
|
eve("snap.data.get." + this.id, this, data, null);
|
||||||
|
return data;
|
||||||
|
}
|
||||||
if (arguments.length == 1) {
|
if (arguments.length == 1) {
|
||||||
if (Snap.is(key, "object")) {
|
if (Snap.is(key, "object")) {
|
||||||
for (var i in key) if (key[has](i)) {
|
for (var i in key) if (key[has](i)) {
|
||||||
|
|
|
@ -3253,7 +3253,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 1386 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1386">➭</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 1387 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1387">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.select-extra"></div>
|
<div class="extra" id="Snap.select-extra"></div>
|
||||||
|
@ -3313,7 +3313,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 1397 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1397">➭</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 1398 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1398">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.selectAll-extra"></div>
|
<div class="extra" id="Snap.selectAll-extra"></div>
|
||||||
|
@ -3373,7 +3373,7 @@ Parses given transform string into an array of transformations
|
||||||
|
|
||||||
<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 1487 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1487">➭</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 1488 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1488">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.attr-extra"></div>
|
<div class="extra" id="Element.attr-extra"></div>
|
||||||
|
@ -3518,7 +3518,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1536 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1536">➭</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 1537 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1537">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.getBBox-extra"></div>
|
<div class="extra" id="Element.getBBox-extra"></div>
|
||||||
|
@ -3700,7 +3700,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1580 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1580">➭</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 1581 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1581">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.transform-extra"></div>
|
<div class="extra" id="Element.transform-extra"></div>
|
||||||
|
@ -3864,7 +3864,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1625 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1625">➭</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 1626 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1626">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.parent-extra"></div>
|
<div class="extra" id="Element.parent-extra"></div>
|
||||||
|
@ -3906,7 +3906,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1637 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1637">➭</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 1638 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1638">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.append-extra"></div>
|
<div class="extra" id="Element.append-extra"></div>
|
||||||
|
@ -3966,7 +3966,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1643 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1643">➭</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 1644 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1644">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.add-extra"></div>
|
<div class="extra" id="Element.add-extra"></div>
|
||||||
|
@ -3991,7 +3991,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1667 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1667">➭</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 1668 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1668">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.appendTo-extra"></div>
|
<div class="extra" id="Element.appendTo-extra"></div>
|
||||||
|
@ -4051,7 +4051,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1683 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1683">➭</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 1684 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1684">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.prepend-extra"></div>
|
<div class="extra" id="Element.prepend-extra"></div>
|
||||||
|
@ -4111,7 +4111,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1704 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1704">➭</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 1705 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1705">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.prependTo-extra"></div>
|
<div class="extra" id="Element.prependTo-extra"></div>
|
||||||
|
@ -4171,7 +4171,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1718 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1718">➭</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 1719 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1719">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.before-extra"></div>
|
<div class="extra" id="Element.before-extra"></div>
|
||||||
|
@ -4231,7 +4231,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1746 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1746">➭</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 1747 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1747">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.after-extra"></div>
|
<div class="extra" id="Element.after-extra"></div>
|
||||||
|
@ -4291,7 +4291,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1768 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1768">➭</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 1769 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1769">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.insertBefore-extra"></div>
|
<div class="extra" id="Element.insertBefore-extra"></div>
|
||||||
|
@ -4351,7 +4351,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1786 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1786">➭</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 1787 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1787">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.insertAfter-extra"></div>
|
<div class="extra" id="Element.insertAfter-extra"></div>
|
||||||
|
@ -4411,7 +4411,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1802 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1802">➭</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 1803 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1803">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.remove-extra"></div>
|
<div class="extra" id="Element.remove-extra"></div>
|
||||||
|
@ -4453,7 +4453,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1819 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1819">➭</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 1820 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1820">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.select-extra"></div>
|
<div class="extra" id="Element.select-extra"></div>
|
||||||
|
@ -4513,7 +4513,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1831 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1831">➭</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 1832 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1832">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.selectAll-extra"></div>
|
<div class="extra" id="Element.selectAll-extra"></div>
|
||||||
|
@ -4575,7 +4575,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1849 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1849">➭</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 1850 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1850">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.asPX-extra"></div>
|
<div class="extra" id="Element.asPX-extra"></div>
|
||||||
|
@ -4638,7 +4638,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1864 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1864">➭</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 1865 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1865">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.use-extra"></div>
|
<div class="extra" id="Element.use-extra"></div>
|
||||||
|
@ -4680,7 +4680,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1893 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1893">➭</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 1894 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1894">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.clone-extra"></div>
|
<div class="extra" id="Element.clone-extra"></div>
|
||||||
|
@ -4722,7 +4722,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<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 1973 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1973">➭</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 1974 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#1974">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.toDefs-extra"></div>
|
<div class="extra" id="Element.toDefs-extra"></div>
|
||||||
|
@ -4764,7 +4764,7 @@ console.log(el.attr("fill")); // #fc0</code></pre></section>
|
||||||
|
|
||||||
<article id="Element.pattern">
|
<article id="Element.pattern">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Element.pattern(x, y, width, height)<a href="#Element.pattern" 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/savage/blob/master/src/svg.js#2003">➭</a></h3>
|
<h3 class="dr-method">Element.pattern(x, y, width, height)<a href="#Element.pattern" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2004 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2004">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.pattern-extra"></div>
|
<div class="extra" id="Element.pattern-extra"></div>
|
||||||
|
@ -4864,7 +4864,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 2044 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2044">➭</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 2045 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2045">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.marker-extra"></div>
|
<div class="extra" id="Element.marker-extra"></div>
|
||||||
|
@ -4951,7 +4951,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 2103 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2103">➭</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 2104 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2104">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.animation-extra"></div>
|
<div class="extra" id="Snap.animation-extra"></div>
|
||||||
|
@ -5020,7 +5020,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 2120 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2120">➭</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 2121 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2121">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.inAnim-extra"></div>
|
<div class="extra" id="Element.inAnim-extra"></div>
|
||||||
|
@ -5114,7 +5114,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 2169 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2169">➭</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 2170 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2170">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.animate-extra"></div>
|
<div class="extra" id="Snap.animate-extra"></div>
|
||||||
|
@ -5275,7 +5275,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 2187 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2187">➭</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 2188 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2188">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.stop-extra"></div>
|
<div class="extra" id="Element.stop-extra"></div>
|
||||||
|
@ -5317,7 +5317,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 2208 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2208">➭</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 2209 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2209">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.animate-extra"></div>
|
<div class="extra" id="Element.animate-extra"></div>
|
||||||
|
@ -5386,7 +5386,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 2280 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2280">➭</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 2281 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2281">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.data-extra"></div>
|
<div class="extra" id="Element.data-extra"></div>
|
||||||
|
@ -5508,7 +5508,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 2305 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2305">➭</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 2310 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2310">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.removeData-extra"></div>
|
<div class="extra" id="Element.removeData-extra"></div>
|
||||||
|
@ -5569,7 +5569,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 2322 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2322">➭</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 2327 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2327">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.outerSVG-extra"></div>
|
<div class="extra" id="Element.outerSVG-extra"></div>
|
||||||
|
@ -5612,7 +5612,7 @@ If key is not provided, removes all the data of the element.
|
||||||
|
|
||||||
<article id="undefined">
|
<article id="undefined">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">undefined<a href="#undefined" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2328 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2328">➭</a></h3>
|
<h3 class="dr-method">undefined<a href="#undefined" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2333 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2333">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="undefined-extra"></div>
|
<div class="extra" id="undefined-extra"></div>
|
||||||
|
@ -5637,7 +5637,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 2336 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2336">➭</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 2341 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2341">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Element.innerSVG-extra"></div>
|
<div class="extra" id="Element.innerSVG-extra"></div>
|
||||||
|
@ -5679,7 +5679,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 2375 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2375">➭</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 2380 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2380">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.parse-extra"></div>
|
<div class="extra" id="Snap.parse-extra"></div>
|
||||||
|
@ -5739,7 +5739,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 2407 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2407">➭</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 2412 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2412">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Fragment.select-extra"></div>
|
<div class="extra" id="Fragment.select-extra"></div>
|
||||||
|
@ -5764,7 +5764,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 2414 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2414">➭</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 2419 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2419">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Fragment.selectAll-extra"></div>
|
<div class="extra" id="Fragment.selectAll-extra"></div>
|
||||||
|
@ -5789,7 +5789,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 2425 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2425">➭</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 2430 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2430">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.fragment-extra"></div>
|
<div class="extra" id="Snap.fragment-extra"></div>
|
||||||
|
@ -5849,7 +5849,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 2632 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2632">➭</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 2637 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2637">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.el-extra"></div>
|
<div class="extra" id="Paper.el-extra"></div>
|
||||||
|
@ -5945,7 +5945,7 @@ var c = paper.el("circle", {
|
||||||
|
|
||||||
<article id="Paper.rect">
|
<article id="Paper.rect">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.rect(x, y, width, height, [rx], [ry])<a href="#Paper.rect" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2655 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2655">➭</a></h3>
|
<h3 class="dr-method">Paper.rect(x, y, width, height, [rx], [ry])<a href="#Paper.rect" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2660 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2660">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.rect-extra"></div>
|
<div class="extra" id="Paper.rect-extra"></div>
|
||||||
|
@ -6045,7 +6045,7 @@ var c = paper.rect(40, 40, 50, 50, 10);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.circle">
|
<article id="Paper.circle">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.circle(x, y, r)<a href="#Paper.circle" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2690 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2690">➭</a></h3>
|
<h3 class="dr-method">Paper.circle(x, y, r)<a href="#Paper.circle" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2695 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2695">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.circle-extra"></div>
|
<div class="extra" id="Paper.circle-extra"></div>
|
||||||
|
@ -6133,7 +6133,7 @@ var c = paper.rect(40, 40, 50, 50, 10);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.image">
|
<article id="Paper.image">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.image(src, x, y, width, height)<a href="#Paper.image" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2722 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2722">➭</a></h3>
|
<h3 class="dr-method">Paper.image(src, x, y, width, height)<a href="#Paper.image" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2727 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2727">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.image-extra"></div>
|
<div class="extra" id="Paper.image-extra"></div>
|
||||||
|
@ -6255,7 +6255,7 @@ var c = paper.rect(40, 40, 50, 50, 10);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.ellipse">
|
<article id="Paper.ellipse">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.ellipse(x, y, rx, ry)<a href="#Paper.ellipse" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2765 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2765">➭</a></h3>
|
<h3 class="dr-method">Paper.ellipse(x, y, rx, ry)<a href="#Paper.ellipse" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2770 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2770">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.ellipse-extra"></div>
|
<div class="extra" id="Paper.ellipse-extra"></div>
|
||||||
|
@ -6346,7 +6346,7 @@ var c = paper.rect(40, 40, 50, 50, 10);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.path">
|
<article id="Paper.path">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.path([pathString])<a href="#Paper.path" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2810 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2810">➭</a></h3>
|
<h3 class="dr-method">Paper.path([pathString])<a href="#Paper.path" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2815 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2815">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.path-extra"></div>
|
<div class="extra" id="Paper.path-extra"></div>
|
||||||
|
@ -6614,7 +6614,7 @@ Note: there is a special case when a path consists of only three commands: <code
|
||||||
|
|
||||||
<article id="Paper.g">
|
<article id="Paper.g">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.g([varargs])<a href="#Paper.g" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2841 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2841">➭</a></h3>
|
<h3 class="dr-method">Paper.g([varargs])<a href="#Paper.g" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2846 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2846">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.g-extra"></div>
|
<div class="extra" id="Paper.g-extra"></div>
|
||||||
|
@ -6723,7 +6723,7 @@ g.add(c2, c1);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.group">
|
<article id="Paper.group">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.group()<a href="#Paper.group" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2847 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2847">➭</a></h3>
|
<h3 class="dr-method">Paper.group()<a href="#Paper.group" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2852 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2852">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.group-extra"></div>
|
<div class="extra" id="Paper.group-extra"></div>
|
||||||
|
@ -6748,7 +6748,7 @@ g.add(c2, c1);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.text">
|
<article id="Paper.text">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.text(x, y, text)<a href="#Paper.text" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2875 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2875">➭</a></h3>
|
<h3 class="dr-method">Paper.text(x, y, text)<a href="#Paper.text" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2885 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2885">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.text-extra"></div>
|
<div class="extra" id="Paper.text-extra"></div>
|
||||||
|
@ -6825,7 +6825,12 @@ g.add(c2, c1);</code></pre></section>
|
||||||
|
|
||||||
|
|
||||||
<section class="code"><pre class="javascript code"><code data-language="javascript" class="language-javascript">var t1 = paper.text(50, 50, "Snap");
|
<section class="code"><pre class="javascript code"><code data-language="javascript" class="language-javascript">var t1 = paper.text(50, 50, "Snap");
|
||||||
var t2 = paper.text(50, 50, ["S","n","a","p"]);</code></pre></section>
|
var t2 = paper.text(50, 50, ["S","n","a","p"]);
|
||||||
|
// Text path usage
|
||||||
|
t1.attr({textpath: "M10,10L100,100"});
|
||||||
|
// or
|
||||||
|
var pth = paper.path("M10,10L100,100");
|
||||||
|
t1.attr({textpath: pth});</code></pre></section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -6837,7 +6842,7 @@ var t2 = paper.text(50, 50, ["S","n","a","p"]);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.line">
|
<article id="Paper.line">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.line(x1, y1, x2, y2)<a href="#Paper.line" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2903 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2903">➭</a></h3>
|
<h3 class="dr-method">Paper.line(x1, y1, x2, y2)<a href="#Paper.line" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2913 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2913">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.line-extra"></div>
|
<div class="extra" id="Paper.line-extra"></div>
|
||||||
|
@ -6928,7 +6933,7 @@ var t2 = paper.text(50, 50, ["S","n","a","p"]);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.polyline">
|
<article id="Paper.polyline">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.polyline(…)<a href="#Paper.polyline" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2932 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2932">➭</a></h3>
|
<h3 class="dr-method">Paper.polyline(…)<a href="#Paper.polyline" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2942 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2942">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.polyline-extra"></div>
|
<div class="extra" id="Paper.polyline-extra"></div>
|
||||||
|
@ -7040,7 +7045,7 @@ var p2 = paper.polyline(10, 10, 100, 100);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.polygon">
|
<article id="Paper.polygon">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.polygon()<a href="#Paper.polygon" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2952 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2952">➭</a></h3>
|
<h3 class="dr-method">Paper.polygon()<a href="#Paper.polygon" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 2962 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#2962">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.polygon-extra"></div>
|
<div class="extra" id="Paper.polygon-extra"></div>
|
||||||
|
@ -7065,7 +7070,7 @@ var p2 = paper.polyline(10, 10, 100, 100);</code></pre></section>
|
||||||
|
|
||||||
<article id="Paper.gradient">
|
<article id="Paper.gradient">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.gradient(gradient)<a href="#Paper.gradient" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 3005 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3005">➭</a></h3>
|
<h3 class="dr-method">Paper.gradient(gradient)<a href="#Paper.gradient" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 3015 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3015">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.gradient-extra"></div>
|
<div class="extra" id="Paper.gradient-extra"></div>
|
||||||
|
@ -7263,7 +7268,7 @@ half the width, from black to white:
|
||||||
|
|
||||||
<article id="Paper.toString">
|
<article id="Paper.toString">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.toString()<a href="#Paper.toString" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 3021 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3021">➭</a></h3>
|
<h3 class="dr-method">Paper.toString()<a href="#Paper.toString" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 3031 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3031">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.toString-extra"></div>
|
<div class="extra" id="Paper.toString-extra"></div>
|
||||||
|
@ -7305,7 +7310,7 @@ half the width, from black to white:
|
||||||
|
|
||||||
<article id="Paper.clear">
|
<article id="Paper.clear">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="dr-method">Paper.clear()<a href="#Paper.clear" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 3039 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3039">➭</a></h3>
|
<h3 class="dr-method">Paper.clear()<a href="#Paper.clear" title="Link to this section" class="dr-hash">⚓</a><a class="dr-sourceline" title="Go to line 3049 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3049">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Paper.clear-extra"></div>
|
<div class="extra" id="Paper.clear-extra"></div>
|
||||||
|
@ -7330,7 +7335,7 @@ half the width, from black to white:
|
||||||
|
|
||||||
<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 3070 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3070">➭</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 3080 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3080">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.ajax-extra"></div>
|
<div class="extra" id="Snap.ajax-extra"></div>
|
||||||
|
@ -7434,7 +7439,7 @@ half the width, from black to white:
|
||||||
|
|
||||||
<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 3116 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3116">➭</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 3126 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3126">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.load-extra"></div>
|
<div class="extra" id="Snap.load-extra"></div>
|
||||||
|
@ -7483,7 +7488,7 @@ half the width, from black to white:
|
||||||
|
|
||||||
<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 3596 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3596">➭</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 3606 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3606">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.getElementByPoint-extra"></div>
|
<div class="extra" id="Snap.getElementByPoint-extra"></div>
|
||||||
|
@ -7568,7 +7573,7 @@ half the width, from black to white:
|
||||||
|
|
||||||
<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 3631 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3631">➭</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 3641 in the source" href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#3641">➭</a></h3>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div class="extra" id="Snap.plugin-extra"></div>
|
<div class="extra" id="Snap.plugin-extra"></div>
|
||||||
|
|
Loading…
Reference in New Issue