<divid="content"class="max-width"><articleid="Element"class="Element-section"><header><h2id="Element"class="undefined">Element<ahref="#Element"title="Link to this section"class="dr-hash">⚓</a></h2></header>
<section><divclass="extra"id="Element-extra"></div></section></article><articleid="Element.add"class="Element-add-section"><header><h3id="Element.add"class="dr-method">Element.add()<ahref="#Element.add"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1643 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1643">➭</a></h3></header>
</div></section></article><articleid="Element.after"class="Element-after-section"><header><h3id="Element.after"class="dr-method">Element.after(el)<ahref="#Element.after"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1696 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1696">➭</a></h3></header>
<section><divclass="extra"id="Element.after-extra"></div><divclass="dr-method"><p>Inserts given element after the current one
</div></section></article><articleid="Element.animate"class="Element-animate-section"><header><h3id="Element.animate"class="dr-method">Element.animate(attrs, duration, [easing], [callback])<ahref="#Element.animate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2140 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2140">➭</a></h3></header>
<section><divclass="extra"id="Element.animate-extra"></div><divclass="dr-method"><p>Animates the given attributes of the element
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">the current element</span></p>
</div></section></article><articleid="Element.append"class="Element-append-section"><header><h3id="Element.append"class="dr-method">Element.append(el)<ahref="#Element.append"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1637 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1637">➭</a></h3></header>
<section><divclass="extra"id="Element.append-extra"></div><divclass="dr-method"><p>Appends the given element to current one
</div></section></article><articleid="Element.asPX"class="Element-asPX-section"><header><h3id="Element.asPX"class="dr-method">Element.asPX(attr, [value])<ahref="#Element.asPX"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1784 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1784">➭</a></h3></header>
<section><divclass="extra"id="Element.asPX-extra"></div><divclass="dr-method"><p>Returns given attribute of the element as a <code>px</code> value (not %, em, etc.)
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">result of query selection</span></p>
</div></section></article><articleid="Element.attr"class="Element-attr-section"><header><h3id="Element.attr"class="dr-method">Element.attr(…)<ahref="#Element.attr"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1479 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1479">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">the current element</span></p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">value of attribute</span></p>
</div></section></article><articleid="Element.before"class="Element-before-section"><header><h3id="Element.before"class="dr-method">Element.before(el)<ahref="#Element.before"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1680 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1680">➭</a></h3></header>
<section><divclass="extra"id="Element.before-extra"></div><divclass="dr-method"><p>Inserts given element before the current one
</div></section></article><articleid="Element.click"class="Element-click-section"><header><h3id="Element.click"class="dr-method">Element.click(handler)<ahref="#Element.click"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 155 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L155">➭</a></h3></header>
</div></section></article><articleid="Element.clone"class="Element-clone-section"><header><h3id="Element.clone"class="dr-method">Element.clone()<ahref="#Element.clone"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1828 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1828">➭</a></h3></header>
<section><divclass="extra"id="Element.clone-extra"></div><divclass="dr-method"><p>Creates a clone of the element and inserts it after the element
</div></section></article><articleid="Element.data"class="Element-data-section"><header><h3id="Element.data"class="dr-method">Element.data(key, [value])<ahref="#Element.data"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2212 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2212">➭</a></h3></header>
<section><divclass="extra"id="Element.data-extra"></div><divclass="dr-method"><p>Adds or retrieves given value associated with given key. (Don’t confuse
with <code>data-</code> attributes)
</p>
<p>See also <ahref="#Element.removeData"class="dr-link">Element.removeData</a>
</div></section></article><articleid="Element.dblclick"class="Element-dblclick-section"><header><h3id="Element.dblclick"class="dr-method">Element.dblclick(handler)<ahref="#Element.dblclick"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 172 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L172">➭</a></h3></header>
</div></section></article><articleid="Element.drag"class="Element-drag-section"><header><h3id="Element.drag"class="dr-method">Element.drag(onmove, onstart, onend, [mcontext], [scontext], [econtext])<ahref="#Element.drag"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 459 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L459">➭</a></h3></header>
<section><divclass="extra"id="Element.drag-extra"></div><divclass="dr-method"><p>Adds event handlers for an element's drag gesture
<olclass="dr-json"><li><spanclass="dr-json-key">x</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x position of the mouse</span>
<li><spanclass="dr-json-key">y</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y position of the mouse</span>
<olclass="dr-json"><li><spanclass="dr-json-key">dx</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">shift by x from the start point</span>
<li><spanclass="dr-json-key">dy</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">shift by y from the start point</span>
<li><spanclass="dr-json-key">x</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x position of the mouse</span>
<li><spanclass="dr-json-key">y</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y position of the mouse</span>
<olclass="dr-json"><li><spanclass="dr-json-key">x</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x position of the mouse</span>
<li><spanclass="dr-json-key">y</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y position of the mouse</span>
<olclass="dr-json"><li><spanclass="dr-json-key">dx</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">shift by x from the start point</span>
<li><spanclass="dr-json-key">dy</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">shift by y from the start point</span>
<li><spanclass="dr-json-key">x</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x position of the mouse</span>
<li><spanclass="dr-json-key">y</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y position of the mouse</span>
</div></section></article><articleid="Element.getBBox"class="Element-getBBox-section"><header><h3id="Element.getBBox"class="dr-method">Element.getBBox()<ahref="#Element.getBBox"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1528 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1528">➭</a></h3></header>
<section><divclass="extra"id="Element.getBBox-extra"></div><divclass="dr-method"><p>Returns the bounding box descriptor for the given element
<olclass="dr-json"><li>{<olclass="dr-json"><li><spanclass="dr-json-key">cx:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x of the center,</span>
<li><spanclass="dr-json-key">cy:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x of the center,</span>
<li><spanclass="dr-json-key">path:</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">path command for the box,</span>
<li><spanclass="dr-json-key">r0:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">radius of a circle that fully encloses the box,</span>
<li><spanclass="dr-json-key">r1:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">radius of the smallest circle that can be enclosed,</span>
<li><spanclass="dr-json-key">r2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">radius of the largest circle that can be enclosed,</span>
<li><spanclass="dr-json-key">vb:</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">box as a viewbox command,</span>
<li><spanclass="dr-json-key">x2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x of the right side,</span>
<li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x of the left side,</span>
<li><spanclass="dr-json-key">y2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y of the bottom edge,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y of the top edge</span>
</div></section></article><articleid="Element.getPointAtLength"class="Element-getPointAtLength-section"><header><h3id="Element.getPointAtLength"class="dr-method">Element.getPointAtLength(length)<ahref="#Element.getPointAtLength"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1126 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1126">➭</a></h3></header>
<section><divclass="extra"id="Element.getPointAtLength-extra"></div><divclass="dr-method"><p>Returns coordinates of the point located at the given length on the given path (only works for <code>path</code> elements)
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">representation of the point:</span></p>
<li><spanclass="dr-json-key">alpha:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">angle of derivative</span>
</div></section></article><articleid="Element.getSubpath"class="Element-getSubpath-section"><header><h3id="Element.getSubpath"class="dr-method">Element.getSubpath(from, to)<ahref="#Element.getSubpath"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1141 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1141">➭</a></h3></header>
<section><divclass="extra"id="Element.getSubpath-extra"></div><divclass="dr-method"><p>Returns subpath of a given element from given start and end lengths (only works for <code>path</code> elements)
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">path string definition for the segment</span></p>
</div></section></article><articleid="Element.getTotalLength"class="Element-getTotalLength-section"><header><h3id="Element.getTotalLength"class="dr-method">Element.getTotalLength()<ahref="#Element.getTotalLength"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1105 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1105">➭</a></h3></header>
<section><divclass="extra"id="Element.getTotalLength-extra"></div><divclass="dr-method"><p>Returns the length of the path in pixels (only works for <code>path</code> elements)
</div></section></article><articleid="Element.hover"class="Element-hover-section"><header><h3id="Element.hover"class="dr-method">Element.hover(f_in, f_out, [icontext], [ocontext])<ahref="#Element.hover"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 372 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L372">➭</a></h3></header>
</div></section></article><articleid="Element.inAnim"class="Element-inAnim-section"><header><h3id="Element.inAnim"class="dr-method">Element.inAnim()<ahref="#Element.inAnim"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2055 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2055">➭</a></h3></header>
<section><divclass="extra"id="Element.inAnim-extra"></div><divclass="dr-method"><p>Returns a set of animations that may be able to manipulate the current element
<li><spanclass="dr-json-key">curStatus</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">0..1 — status of the animation: 0 — just started, 1 — just finished,</span>
<li><spanclass="dr-json-key">status</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">gets or sets the status of the animation,</span>
<li><spanclass="dr-json-key">stop</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">stops the animation</span>
</div></section></article><articleid="Element.innerSVG"class="Element-innerSVG-section"><header><h3id="Element.innerSVG"class="dr-method">Element.innerSVG()<ahref="#Element.innerSVG"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2261 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2261">➭</a></h3></header>
<section><divclass="extra"id="Element.innerSVG-extra"></div><divclass="dr-method"><p>Returns SVG code for the element's contents, equivalent to HTML's <code>innerHTML</code>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code for the element</span></p>
</div></section></article><articleid="Element.insertAfter"class="Element-insertAfter-section"><header><h3id="Element.insertAfter"class="dr-method">Element.insertAfter(el)<ahref="#Element.insertAfter"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1726 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1726">➭</a></h3></header>
<section><divclass="extra"id="Element.insertAfter-extra"></div><divclass="dr-method"><p>Inserts the element after the given one
</div></section></article><articleid="Element.insertBefore"class="Element-insertBefore-section"><header><h3id="Element.insertBefore"class="dr-method">Element.insertBefore(el)<ahref="#Element.insertBefore"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1711 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1711">➭</a></h3></header>
<section><divclass="extra"id="Element.insertBefore-extra"></div><divclass="dr-method"><p>Inserts the element after the given one
</div></section></article><articleid="Element.marker"class="Element-marker-section"><header><h3id="Element.marker"class="dr-method">Element.marker(x, y, width, height, refX, refY)<ahref="#Element.marker"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1979 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1979">➭</a></h3></header>
<section><divclass="extra"id="Element.marker-extra"></div><divclass="dr-method"><p>Creates a <code><marker></code> element from the current element
<p>You can specify the marker later as an argument for <code>marker-start</code>, <code>marker-end</code>, <code>marker-mid</code>, and <code>marker</code> attributes. The <code>marker</code> attribute places the marker at every point along the path, and <code>marker-mid</code> places them at every point except the start and end.
</div></section></article><articleid="Element.mousedown"class="Element-mousedown-section"><header><h3id="Element.mousedown"class="dr-method">Element.mousedown(handler)<ahref="#Element.mousedown"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 189 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L189">➭</a></h3></header>
</div></section></article><articleid="Element.mousemove"class="Element-mousemove-section"><header><h3id="Element.mousemove"class="dr-method">Element.mousemove(handler)<ahref="#Element.mousemove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 206 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L206">➭</a></h3></header>
</div></section></article><articleid="Element.mouseout"class="Element-mouseout-section"><header><h3id="Element.mouseout"class="dr-method">Element.mouseout(handler)<ahref="#Element.mouseout"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 223 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L223">➭</a></h3></header>
</div></section></article><articleid="Element.mouseover"class="Element-mouseover-section"><header><h3id="Element.mouseover"class="dr-method">Element.mouseover(handler)<ahref="#Element.mouseover"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 240 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L240">➭</a></h3></header>
</div></section></article><articleid="Element.mouseup"class="Element-mouseup-section"><header><h3id="Element.mouseup"class="dr-method">Element.mouseup(handler)<ahref="#Element.mouseup"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 257 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L257">➭</a></h3></header>
</div></section></article><articleid="Element.parent"class="Element-parent-section"><header><h3id="Element.parent"class="dr-method">Element.parent()<ahref="#Element.parent"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1625 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1625">➭</a></h3></header>
<section><divclass="extra"id="Element.parent-extra"></div><divclass="dr-method"><p>Returns the element's parent
</div></section></article><articleid="Element.pattern"class="Element-pattern-section"><header><h3id="Element.pattern"class="dr-method">Element.pattern(x, y, width, height)<ahref="#Element.pattern"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1938 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1938">➭</a></h3></header>
<section><divclass="extra"id="Element.pattern-extra"></div><divclass="dr-method"><p>Creates a <code><pattern></code> element from the current element
<sectionclass="code"><preclass="javascript code"><codedata-language="javascript"class="language-javascript">var p = paper.path("M10-5-10,15M15,0,0,15M0-5-20,15").attr({
</div></section></article><articleid="Element.prepend"class="Element-prepend-section"><header><h3id="Element.prepend"class="dr-method">Element.prepend(el)<ahref="#Element.prepend"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1665 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1665">➭</a></h3></header>
<section><divclass="extra"id="Element.prepend-extra"></div><divclass="dr-method"><p>Prepends the given element to the current one
</div></section></article><articleid="Element.remove"class="Element-remove-section"><header><h3id="Element.remove"class="dr-method">Element.remove()<ahref="#Element.remove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1739 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1739">➭</a></h3></header>
</div></section></article><articleid="Element.removeData"class="Element-removeData-section"><header><h3id="Element.removeData"class="dr-method">Element.removeData([key])<ahref="#Element.removeData"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2237 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2237">➭</a></h3></header>
</div></section></article><articleid="Element.select"class="Element-select-section"><header><h3id="Element.select"class="dr-method">Element.select(query)<ahref="#Element.select"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1754 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1754">➭</a></h3></header>
<section><divclass="extra"id="Element.select-extra"></div><divclass="dr-method"><p>Gathers the nested <ahref="#Element"class="dr-link">Element</a> matching the given set of CSS selectors
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">result of query selection</span></p>
</div></section></article><articleid="Element.selectAll"class="Element-selectAll-section"><header><h3id="Element.selectAll"class="dr-method">Element.selectAll(query)<ahref="#Element.selectAll"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1766 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1766">➭</a></h3></header>
<section><divclass="extra"id="Element.selectAll-extra"></div><divclass="dr-method"><p>Gathers nested <ahref="#Element"class="dr-link">Element</a> objects matching the given set of CSS selectors
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Set">Set</em><emclass="dr-type-array">array</em><spanclass="dr-description">result of query selection</span></p>
</div></section></article><articleid="Element.stop"class="Element-stop-section"><header><h3id="Element.stop"class="dr-method">Element.stop()<ahref="#Element.stop"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2119 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2119">➭</a></h3></header>
<section><divclass="extra"id="Element.stop-extra"></div><divclass="dr-method"><p>Stops all the animations for the current element
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">the current element</span></p>
</div></section></article><articleid="Element.toDefs"class="Element-toDefs-section"><header><h3id="Element.toDefs"class="dr-method">Element.toDefs()<ahref="#Element.toDefs"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1908 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1908">➭</a></h3></header>
<section><divclass="extra"id="Element.toDefs-extra"></div><divclass="dr-method"><p>Moves element to the shared <code><defs></code> area
</div></section></article><articleid="Element.toString"class="Element-toString-section"><header><h3id="Element.toString"class="dr-method">Element.toString()<ahref="#Element.toString"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2942 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2942">➭</a></h3></header>
<section><divclass="extra"id="Element.toString-extra"></div><divclass="dr-method"><p>Returns SVG code for the element, equivalent to HTML's <code>outerHTML</code>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code for the element</span></p>
</div><divclass="dr-method"><p>Returns SVG code for the <ahref="#Paper"class="dr-link">Paper</a>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code for the <ahref="#Paper"class="dr-link">Paper</a></span></p>
</div></section></article><articleid="Element.touchcancel"class="Element-touchcancel-section"><header><h3id="Element.touchcancel"class="dr-method">Element.touchcancel(handler)<ahref="#Element.touchcancel"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 325 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L325">➭</a></h3></header>
</div></section></article><articleid="Element.touchend"class="Element-touchend-section"><header><h3id="Element.touchend"class="dr-method">Element.touchend(handler)<ahref="#Element.touchend"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 308 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L308">➭</a></h3></header>
</div></section></article><articleid="Element.touchmove"class="Element-touchmove-section"><header><h3id="Element.touchmove"class="dr-method">Element.touchmove(handler)<ahref="#Element.touchmove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 291 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L291">➭</a></h3></header>
</div></section></article><articleid="Element.touchstart"class="Element-touchstart-section"><header><h3id="Element.touchstart"class="dr-method">Element.touchstart(handler)<ahref="#Element.touchstart"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 274 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L274">➭</a></h3></header>
</div></section></article><articleid="Element.transform"class="Element-transform-section"><header><h3id="Element.transform"class="dr-method">Element.transform(tstr)<ahref="#Element.transform"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1583 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1583">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">the current element</span></p>
<li><spanclass="dr-json-key">globalMatrix</span><spanclass="dr-type"><emclass="dr-type-Matrix">Matrix</em></span><spanclass="dr-json-description">matrix of all transformations applied to element or its parents,</span>
<li><spanclass="dr-json-key">localMatrix</span><spanclass="dr-type"><emclass="dr-type-Matrix">Matrix</em></span><spanclass="dr-json-description">matrix of transformations applied only to the element,</span>
<li><spanclass="dr-json-key">diffMatrix</span><spanclass="dr-type"><emclass="dr-type-Matrix">Matrix</em></span><spanclass="dr-json-description">matrix of difference between global and local transformations,</span>
<li><spanclass="dr-json-key">global</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">global transformation as string,</span>
<li><spanclass="dr-json-key">local</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">local transformation as string,</span>
</div></section></article><articleid="Element.unclick"class="Element-unclick-section"><header><h3id="Element.unclick"class="dr-method">Element.unclick(handler)<ahref="#Element.unclick"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 163 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L163">➭</a></h3></header>
</div></section></article><articleid="Element.undblclick"class="Element-undblclick-section"><header><h3id="Element.undblclick"class="dr-method">Element.undblclick(handler)<ahref="#Element.undblclick"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 180 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L180">➭</a></h3></header>
</div></section></article><articleid="Element.undrag"class="Element-undrag-section"><header><h3id="Element.undrag"class="dr-method">Element.undrag()<ahref="#Element.undrag"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 468 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L468">➭</a></h3></header>
<section><divclass="extra"id="Element.undrag-extra"></div><divclass="dr-method"><p>Removes all drag event handlers from the given element
</div></section></article><articleid="Element.unhover"class="Element-unhover-section"><header><h3id="Element.unhover"class="dr-method">Element.unhover(f_in, f_out)<ahref="#Element.unhover"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 384 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L384">➭</a></h3></header>
</div></section></article><articleid="Element.unmousedown"class="Element-unmousedown-section"><header><h3id="Element.unmousedown"class="dr-method">Element.unmousedown(handler)<ahref="#Element.unmousedown"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 197 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L197">➭</a></h3></header>
</div></section></article><articleid="Element.unmousemove"class="Element-unmousemove-section"><header><h3id="Element.unmousemove"class="dr-method">Element.unmousemove(handler)<ahref="#Element.unmousemove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 214 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L214">➭</a></h3></header>
</div></section></article><articleid="Element.unmouseout"class="Element-unmouseout-section"><header><h3id="Element.unmouseout"class="dr-method">Element.unmouseout(handler)<ahref="#Element.unmouseout"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 231 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L231">➭</a></h3></header>
</div></section></article><articleid="Element.unmouseover"class="Element-unmouseover-section"><header><h3id="Element.unmouseover"class="dr-method">Element.unmouseover(handler)<ahref="#Element.unmouseover"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 248 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L248">➭</a></h3></header>
</div></section></article><articleid="Element.unmouseup"class="Element-unmouseup-section"><header><h3id="Element.unmouseup"class="dr-method">Element.unmouseup(handler)<ahref="#Element.unmouseup"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 265 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L265">➭</a></h3></header>
</div></section></article><articleid="Element.untouchcancel"class="Element-untouchcancel-section"><header><h3id="Element.untouchcancel"class="dr-method">Element.untouchcancel(handler)<ahref="#Element.untouchcancel"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 333 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L333">➭</a></h3></header>
</div></section></article><articleid="Element.untouchend"class="Element-untouchend-section"><header><h3id="Element.untouchend"class="dr-method">Element.untouchend(handler)<ahref="#Element.untouchend"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 316 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L316">➭</a></h3></header>
</div></section></article><articleid="Element.untouchmove"class="Element-untouchmove-section"><header><h3id="Element.untouchmove"class="dr-method">Element.untouchmove(handler)<ahref="#Element.untouchmove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 299 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L299">➭</a></h3></header>
</div></section></article><articleid="Element.untouchstart"class="Element-untouchstart-section"><header><h3id="Element.untouchstart"class="dr-method">Element.untouchstart(handler)<ahref="#Element.untouchstart"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 282 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L282">➭</a></h3></header>
</div></section></article><articleid="Element.use"class="Element-use-section"><header><h3id="Element.use"class="dr-method">Element.use()<ahref="#Element.use"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1799 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1799">➭</a></h3></header>
<section><divclass="extra"id="Element.use-extra"></div><divclass="dr-method"><p>Creates a <code><use></code> element linked to the current element
</div></section></article><articleid="Fragment"class="Fragment-section"><header><h2id="Fragment"class="undefined">Fragment<ahref="#Fragment"title="Link to this section"class="dr-hash">⚓</a></h2></header>
<section><divclass="extra"id="Fragment-extra"></div></section></article><articleid="Fragment.select"class="Fragment-select-section"><header><h3id="Fragment.select"class="dr-method">Fragment.select()<ahref="#Fragment.select"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2331 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2331">➭</a></h3></header>
</div></section></article><articleid="Fragment.selectAll"class="Fragment-selectAll-section"><header><h3id="Fragment.selectAll"class="dr-method">Fragment.selectAll()<ahref="#Fragment.selectAll"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2338 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2338">➭</a></h3></header>
</div></section></article><articleid="Matrix"class="Matrix-section"><header><h2id="Matrix"class="undefined">Matrix<ahref="#Matrix"title="Link to this section"class="dr-hash">⚓</a></h2></header>
<section><divclass="extra"id="Matrix-extra"></div></section></article><articleid="Matrix.add"class="Matrix-add-section"><header><h3id="Matrix.add"class="dr-method">Matrix.add(…)<ahref="#Matrix.add"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 390 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L390">➭</a></h3></header>
<section><divclass="extra"id="Matrix.add-extra"></div><divclass="dr-method"><p>Adds the given matrix to existing one
</div></section></article><articleid="Matrix.clone"class="Matrix-clone-section"><header><h3id="Matrix.clone"class="dr-method">Matrix.clone()<ahref="#Matrix.clone"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 437 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L437">➭</a></h3></header>
<section><divclass="extra"id="Matrix.clone-extra"></div><divclass="dr-method"><p>Returns a copy of the matrix
</div></section></article><articleid="Matrix.invert"class="Matrix-invert-section"><header><h3id="Matrix.invert"class="dr-method">Matrix.invert()<ahref="#Matrix.invert"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 425 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L425">➭</a></h3></header>
<section><divclass="extra"id="Matrix.invert-extra"></div><divclass="dr-method"><p>Returns an inverted version of the matrix
</div></section></article><articleid="Matrix.rotate"class="Matrix-rotate-section"><header><h3id="Matrix.rotate"class="dr-method">Matrix.rotate(a, x, y)<ahref="#Matrix.rotate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 478 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L478">➭</a></h3></header>
</div></section></article><articleid="Matrix.scale"class="Matrix-scale-section"><header><h3id="Matrix.scale"class="dr-method">Matrix.scale(x, [y], [cx], [cy])<ahref="#Matrix.scale"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 462 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L462">➭</a></h3></header>
</div></section></article><articleid="Matrix.split"class="Matrix-split-section"><header><h3id="Matrix.split"class="dr-method">Matrix.split()<ahref="#Matrix.split"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 545 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L545">➭</a></h3></header>
<olclass="dr-json"><li><spanclass="dr-json-key">dx</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">translation by x</span>
<li><spanclass="dr-json-key">dy</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">translation by y</span>
<li><spanclass="dr-json-key">scalex</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">scale by x</span>
<li><spanclass="dr-json-key">scaley</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">scale by y</span>
<li><spanclass="dr-json-key">rotate</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">rotation in deg</span>
<li><spanclass="dr-json-key">isSimple</span><spanclass="dr-type"><emclass="dr-type-boolean">boolean</em></span><spanclass="dr-json-description">could it be represented via simple transformations</span>
</div></section></article><articleid="Matrix.toTransformString"class="Matrix-toTransformString-section"><header><h3id="Matrix.toTransformString"class="dr-method">Matrix.toTransformString()<ahref="#Matrix.toTransformString"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 588 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L588">➭</a></h3></header>
<section><divclass="extra"id="Matrix.toTransformString-extra"></div><divclass="dr-method"><p>Returns transform string that represents given matrix
</div></section></article><articleid="Matrix.translate"class="Matrix-translate-section"><header><h3id="Matrix.translate"class="dr-method">Matrix.translate(x, y)<ahref="#Matrix.translate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 448 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L448">➭</a></h3></header>
</div></section></article><articleid="Matrix.x"class="Matrix-x-section"><header><h3id="Matrix.x"class="dr-method">Matrix.x(x, y)<ahref="#Matrix.x"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 496 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L496">➭</a></h3></header>
<section><divclass="extra"id="Matrix.x-extra"></div><divclass="dr-method"><p>Returns x coordinate for given point after transformation described by the matrix. See also <ahref="#Matrix.y"class="dr-link">Matrix.y</a>
</div></section></article><articleid="Matrix.y"class="Matrix-y-section"><header><h3id="Matrix.y"class="dr-method">Matrix.y(x, y)<ahref="#Matrix.y"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 508 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L508">➭</a></h3></header>
<section><divclass="extra"id="Matrix.y-extra"></div><divclass="dr-method"><p>Returns y coordinate for given point after transformation described by the matrix. See also <ahref="#Matrix.x"class="dr-link">Matrix.x</a>
</div></section></article><articleid="Paper"class="Paper-section"><header><h2id="Paper"class="undefined">Paper<ahref="#Paper"title="Link to this section"class="dr-hash">⚓</a></h2></header>
<section><divclass="extra"id="Paper-extra"></div></section></article><articleid="Paper.circle"class="Paper-circle-section"><header><h3id="Paper.circle"class="dr-method">Paper.circle(x, y, r)<ahref="#Paper.circle"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2611 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2611">➭</a></h3></header>
</div></section></article><articleid="Paper.el"class="Paper-el-section"><header><h3id="Paper.el"class="dr-method">Paper.el(name, attr)<ahref="#Paper.el"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2551 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2551">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">the current element</span></p>
<h3>Usage</h3><sectionclass="code"><preclass="javascript code"><codedata-language="javascript"class="language-javascript">var c = paper.circle(10, 10, 10); // is the same as...
</div></section></article><articleid="Paper.ellipse"class="Paper-ellipse-section"><header><h3id="Paper.ellipse"class="dr-method">Paper.ellipse(x, y, rx, ry)<ahref="#Paper.ellipse"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2686 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2686">➭</a></h3></header>
</div></section></article><articleid="Paper.filter"class="Paper-filter-section"><header><h3id="Paper.filter"class="dr-method">Paper.filter(filstr)<ahref="#Paper.filter"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 37 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L37">➭</a></h3></header>
<section><divclass="extra"id="Paper.filter-extra"></div><divclass="dr-method"><p>Creates a <code><filter></code> element
</div></section></article><articleid="Paper.g"class="Paper-g-section"><header><h3id="Paper.g"class="dr-method">Paper.g([varargs])<ahref="#Paper.g"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2762 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2762">➭</a></h3></header>
</div></section></article><articleid="Paper.gradient"class="Paper-gradient-section"><header><h3id="Paper.gradient"class="dr-method">Paper.gradient(gradient)<ahref="#Paper.gradient"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2926 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2926">➭</a></h3></header>
</div></section></article><articleid="Paper.group"class="Paper-group-section"><header><h3id="Paper.group"class="dr-method">Paper.group()<ahref="#Paper.group"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2768 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2768">➭</a></h3></header>
</div></section></article><articleid="Paper.image"class="Paper-image-section"><header><h3id="Paper.image"class="dr-method">Paper.image(src, x, y, width, height)<ahref="#Paper.image"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2643 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2643">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Raphaël element object with type <code>image</code></span></p>
</div></section></article><articleid="Paper.line"class="Paper-line-section"><header><h3id="Paper.line"class="dr-method">Paper.line(x1, y1, x2, y2)<ahref="#Paper.line"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2824 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2824">➭</a></h3></header>
</div></section></article><articleid="Paper.path"class="Paper-path-section"><header><h3id="Paper.path"class="dr-method">Paper.path([pathString])<ahref="#Paper.path"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2731 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2731">➭</a></h3></header>
<section><divclass="extra"id="Paper.path-extra"></div><divclass="dr-method"><p>Creates a <code><path></code> element using the given string as the path's definition
<p>This example features two commands: <code>M</code>, with arguments <code>(10, 20)</code> and <code>L</code> with arguments <code>(30, 40)</code>. Uppercase letter commands express coordinates in absolute terms, while lowercase commands express them in relative terms from the most recently declared coordinates.
<p>Here is short list of commands available, for more details see <ahref="http://www.w3.org/TR/SVG/paths.html#PathData"title="Details of a path's data attribute's format are described in the SVG specification.">SVG path string format</a> or <ahref="https://developer.mozilla.org/en/SVG/Tutorial/Paths">article about path strings at MDN</a>.</p>
<p><li><em>Catmull-Rom curveto</em> is a not standard SVG command and added to make life easier.</li>
Note: there is a special case when a path consists of only three commands: <code>M10,10R…z</code>. In this case the path connects back to its starting point.
</div></section></article><articleid="Paper.polygon"class="Paper-polygon-section"><header><h3id="Paper.polygon"class="dr-method">Paper.polygon()<ahref="#Paper.polygon"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2873 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2873">➭</a></h3></header>
<section><divclass="extra"id="Paper.polygon-extra"></div><divclass="dr-method"><p>Draws a polygon. See <ahref="#Paper.polyline"class="dr-link">Paper.polyline</a>
</div></section></article><articleid="Paper.polyline"class="Paper-polyline-section"><header><h3id="Paper.polyline"class="dr-method">Paper.polyline(…)<ahref="#Paper.polyline"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2853 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2853">➭</a></h3></header>
</div></section></article><articleid="Paper.rect"class="Paper-rect-section"><header><h3id="Paper.rect"class="dr-method">Paper.rect(x, y, width, height, [rx], [ry])<ahref="#Paper.rect"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2574 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2574">➭</a></h3></header>
</div></section></article><articleid="Paper.text"class="Paper-text-section"><header><h3id="Paper.text"class="dr-method">Paper.text(x, y, text)<ahref="#Paper.text"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2796 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2796">➭</a></h3></header>
</div></section></article><articleid="Paper.toString"class="Paper-toString-section"><header><h3id="Paper.toString"class="dr-method">Paper.toString()<ahref="#Paper.toString"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2942 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2942">➭</a></h3></header>
<section><divclass="extra"id="Paper.toString-extra"></div><divclass="dr-method"><p>Returns SVG code for the element, equivalent to HTML's <code>outerHTML</code>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code for the element</span></p>
</div><divclass="dr-method"><p>Returns SVG code for the <ahref="#Paper"class="dr-link">Paper</a>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code for the <ahref="#Paper"class="dr-link">Paper</a></span></p>
</div></section></article><articleid="Set"class="Set-section"><header><h2id="Set"class="undefined">Set<ahref="#Set"title="Link to this section"class="dr-hash">⚓</a></h2></header>
<section><divclass="extra"id="Set-extra"></div></section></article><articleid="Set.clear"class="Set-clear-section"><header><h3id="Set.clear"class="dr-method">Set.clear()<ahref="#Set.clear"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 96 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/set.js#L96">➭</a></h3></header>
</div></section></article><articleid="Set.exclude"class="Set-exclude-section"><header><h3id="Set.exclude"class="dr-method">Set.exclude(element)<ahref="#Set.exclude"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 147 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/set.js#L147">➭</a></h3></header>
<section><divclass="extra"id="Set.exclude-extra"></div><divclass="dr-method"><p>Removes given element from the set
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if object was found and removed from the set</span></p>
</div></section></article><articleid="Set.forEach"class="Set-forEach-section"><header><h3id="Set.forEach"class="dr-method">Set.forEach(callback, thisArg)<ahref="#Set.forEach"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 76 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/set.js#L76">➭</a></h3></header>
</div></section></article><articleid="Set.pop"class="Set-pop-section"><header><h3id="Set.pop"class="dr-method">Set.pop()<ahref="#Set.pop"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 60 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/set.js#L60">➭</a></h3></header>
</div></section></article><articleid="Set.push"class="Set-push-section"><header><h3id="Set.push"class="dr-method">Set.push()<ahref="#Set.push"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 40 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/set.js#L40">➭</a></h3></header>
</div></section></article><articleid="Set.splice"class="Set-splice-section"><header><h3id="Set.splice"class="dr-method">Set.splice(index, count, [insertion…])<ahref="#Set.splice"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 112 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/set.js#L112">➭</a></h3></header>
<spanclass="dr-description">elements to insert</span></li>
</ol></div>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">set elements that were deleted</span></p>
</div></section></article><articleid="Snap"class="Snap-section"><header><h2id="Snap"class="undefined">Snap<ahref="#Snap"title="Link to this section"class="dr-hash">⚓</a></h2></header>
<section><divclass="extra"id="Snap-extra"></div></section></article><articleid="Snap.Matrix"class="Snap-Matrix-section"><header><h3id="Snap.Matrix"class="dr-method">Snap.Matrix(…)<ahref="#Snap.Matrix"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 620 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L620">➭</a></h3></header>
</div></section></article><articleid="Snap.ajax"class="Snap-ajax-section"><header><h3id="Snap.ajax"class="dr-method">Snap.ajax(…)<ahref="#Snap.ajax"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2974 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2974">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-XMLHttpRequest">XMLHttpRequest</em><spanclass="dr-description">the XMLHttpRequest object, just in case</span></p>
</div></section></article><articleid="Snap.angle"class="Snap-angle-section"><header><h3id="Snap.angle"class="dr-method">Snap.angle(x1, y1, x2, y2, [x3], [y3])<ahref="#Snap.angle"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 307 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L307">➭</a></h3></header>
<section><divclass="extra"id="Snap.angle-extra"></div><divclass="dr-method"><p>Returns an angle between two or three points
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-number">number</em><spanclass="dr-description">angle in degrees</span></p>
</div></section></article><articleid="Snap.animate"class="Snap-animate-section"><header><h3id="Snap.animate"class="dr-method">Snap.animate(from, to, setter, duration, [easing], [callback])<ahref="#Snap.animate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2100 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2100">➭</a></h3></header>
<section><divclass="extra"id="Snap.animate-extra"></div><divclass="dr-method"><p>Runs generic animation of one number into another with a caring function
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">animation object in <ahref="#mina"class="dr-link">mina</a> format</span></p>
<olclass="dr-json"><li>{<olclass="dr-json"><li><spanclass="dr-json-key">id</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">animation id, consider it read-only,</span>
<li><spanclass="dr-json-key">duration</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">gets or sets the duration of the animation,</span>
<li><spanclass="dr-json-key">speed</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">gets or sets the speed of the animation,</span>
<li><spanclass="dr-json-key">status</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">gets or sets the status of the animation,</span>
<li><spanclass="dr-json-key">stop</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">stops the animation</span>
</div></section></article><articleid="Snap.animation"class="Snap-animation-section"><header><h3id="Snap.animation"class="dr-method">Snap.animation(attr, duration, [easing], [callback])<ahref="#Snap.animation"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2038 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2038">➭</a></h3></header>
<section><divclass="extra"id="Snap.animation-extra"></div><divclass="dr-method"><p>Creates an animation object
</div></section></article><articleid="Snap.color"class="Snap-color-section"><header><h3id="Snap.color"class="dr-method">Snap.color(clr)<ahref="#Snap.color"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 857 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L857">➭</a></h3></header>
<section><divclass="extra"id="Snap.color-extra"></div><divclass="dr-method"><p>Parses the color string and returns an object featuring the color's component values
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Combined RGB/HSB object in the following format:</span></p>
<li><spanclass="dr-json-key">hex</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">color in HTML/CSS format: #••••••,</span>
<li><spanclass="dr-json-key">error</span><spanclass="dr-type"><emclass="dr-type-boolean">boolean</em></span><spanclass="dr-json-description"><code>true</code> if string can't be parsed,</span>
</div></section></article><articleid="Snap.deg"class="Snap-deg-section"><header><h3id="Snap.deg"class="dr-method">Snap.deg(rad)<ahref="#Snap.deg"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 291 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L291">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-number">number</em><spanclass="dr-description">angle in degrees</span></p>
</div></section></article><articleid="Snap.filter"class="Snap-filter-section"><header><h3id="Snap.filter"class="undefined">Snap.filter<ahref="#Snap.filter"title="Link to this section"class="dr-hash">⚓</a></h3></header>
<section><divclass="extra"id="Snap.filter-extra"></div></section></article><articleid="Snap.filter.blur"class="Snap-filter-blur-section"><header><h4id="Snap.filter.blur"class="dr-method">Snap.filter.blur(x, [y])<ahref="#Snap.filter.blur"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 102 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L102">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.blur-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the blur filter
</div></section></article><articleid="Snap.filter.brightness"class="Snap-filter-brightness-section"><header><h4id="Snap.filter.brightness"class="dr-method">Snap.filter.brightness(amount)<ahref="#Snap.filter.brightness"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 281 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L281">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.brightness-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the brightness filter
</div></section></article><articleid="Snap.filter.contrast"class="Snap-filter-contrast-section"><header><h4id="Snap.filter.contrast"class="dr-method">Snap.filter.contrast(amount)<ahref="#Snap.filter.contrast"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 301 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L301">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.contrast-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the contrast filter
</div></section></article><articleid="Snap.filter.grayscale"class="Snap-filter-grayscale-section"><header><h4id="Snap.filter.grayscale"class="dr-method">Snap.filter.grayscale(amount)<ahref="#Snap.filter.grayscale"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 167 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L167">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.grayscale-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the grayscale filter
</div></section></article><articleid="Snap.filter.hueRotate"class="Snap-filter-hueRotate-section"><header><h4id="Snap.filter.hueRotate"class="dr-method">Snap.filter.hueRotate(angle)<ahref="#Snap.filter.hueRotate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 242 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L242">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.hueRotate-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the hue-rotate filter
</div></section></article><articleid="Snap.filter.invert"class="Snap-filter-invert-section"><header><h4id="Snap.filter.invert"class="dr-method">Snap.filter.invert(amount)<ahref="#Snap.filter.invert"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 260 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L260">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.invert-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the invert filter
</div></section></article><articleid="Snap.filter.saturate"class="Snap-filter-saturate-section"><header><h4id="Snap.filter.saturate"class="dr-method">Snap.filter.saturate(amount)<ahref="#Snap.filter.saturate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 222 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L222">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.saturate-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the saturate filter
</div></section></article><articleid="Snap.filter.sepia"class="Snap-filter-sepia-section"><header><h4id="Snap.filter.sepia"class="dr-method">Snap.filter.sepia(amount)<ahref="#Snap.filter.sepia"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 194 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L194">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.sepia-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the sepia filter
</div></section></article><articleid="Snap.filter.shadow"class="Snap-filter-shadow-section"><header><h4id="Snap.filter.shadow"class="dr-method">Snap.filter.shadow(dx, dy, [blur], [color])<ahref="#Snap.filter.shadow"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 131 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L131">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.shadow-extra"></div><divclass="dr-method"><p>Returns an SVG markup string for the shadow filter
</div></section></article><articleid="Snap.format"class="Snap-format-section"><header><h3id="Snap.format"class="dr-method">Snap.format(token, json)<ahref="#Snap.format"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 174 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L174">➭</a></h3></header>
<section><divclass="extra"id="Snap.format-extra"></div><divclass="dr-method"><p>Replaces construction of type <code>{<name>}</code> to the corresponding argument
<h3>Usage</h3><sectionclass="code"><preclass="javascript code"><codedata-language="javascript"class="language-javascript">// this draws a rectangular shape equivalent to "M10,20h40v50h-40z"
</div></section></article><articleid="Snap.fragment"class="Snap-fragment-section"><header><h3id="Snap.fragment"class="dr-method">Snap.fragment(varargs)<ahref="#Snap.fragment"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2349 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2349">➭</a></h3></header>
</div></section></article><articleid="Snap.getRGB"class="Snap-getRGB-section"><header><h3id="Snap.getRGB"class="dr-method">Snap.getRGB(color)<ahref="#Snap.getRGB"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 655 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L655">➭</a></h3></header>
<section><divclass="extra"id="Snap.getRGB-extra"></div><divclass="dr-method"><p>Parses color string as RGB object
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">RGB object in the following format:</span></p>
<li><spanclass="dr-json-key">hex</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">color in HTML/CSS format: #••••••,</span>
<li><spanclass="dr-json-key">error</span><spanclass="dr-type"><emclass="dr-type-boolean">boolean</em></span><spanclass="dr-json-description">true if string can't be parsed</span>
</div></section></article><articleid="Snap.hsb"class="Snap-hsb-section"><header><h3id="Snap.hsb"class="dr-method">Snap.hsb(h, s, b)<ahref="#Snap.hsb"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 744 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L744">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsb-extra"></div><divclass="dr-method"><p>Converts HSB values to a hex representation of the color
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">hex representation of the color</span></p>
</div></section></article><articleid="Snap.hsb2rgb"class="Snap-hsb2rgb-section"><header><h3id="Snap.hsb2rgb"class="dr-method">Snap.hsb2rgb(h, s, v)<ahref="#Snap.hsb2rgb"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 909 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L909">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsb2rgb-extra"></div><divclass="dr-method"><p>Converts HSB values to an RGB object
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">RGB object in the following format:</span></p>
<li><spanclass="dr-json-key">hex</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">color in HTML/CSS format: #••••••</span>
</div></section></article><articleid="Snap.hsl"class="Snap-hsl-section"><header><h3id="Snap.hsl"class="dr-method">Snap.hsl(h, s, l)<ahref="#Snap.hsl"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 757 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L757">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsl-extra"></div><divclass="dr-method"><p>Converts HSL values to a hex representation of the color
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">hex representation of the color</span></p>
</div></section></article><articleid="Snap.hsl2rgb"class="Snap-hsl2rgb-section"><header><h3id="Snap.hsl2rgb"class="dr-method">Snap.hsl2rgb(h, s, l)<ahref="#Snap.hsl2rgb"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 945 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L945">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsl2rgb-extra"></div><divclass="dr-method"><p>Converts HSL values to an RGB object
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">RGB object in the following format:</span></p>
<li><spanclass="dr-json-key">hex</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">color in HTML/CSS format: #••••••</span>
</div></section></article><articleid="Snap.is"class="Snap-is-section"><header><h3id="Snap.is"class="dr-method">Snap.is(o, type)<ahref="#Snap.is"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 317 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L317">➭</a></h3></header>
<section><divclass="extra"id="Snap.is-extra"></div><divclass="dr-method"><p>Handy replacement for the <code>typeof</code> operator
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if given value is of given type</span></p>
</div></section></article><articleid="Snap.load"class="Snap-load-section"><header><h3id="Snap.load"class="dr-method">Snap.load(url, callback, [scope])<ahref="#Snap.load"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3020 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L3020">➭</a></h3></header>
<section><divclass="extra"id="Snap.load-extra"></div><divclass="dr-method"><p>Loads external SVG file as a <ahref="#Fragment"class="dr-link">Fragment</a> (see <ahref="#Snap.ajax"class="dr-link">Snap.ajax</a> for more advanced AJAX)
</div></section></article><articleid="Snap.parse"class="Snap-parse-section"><header><h3id="Snap.parse"class="dr-method">Snap.parse(svg)<ahref="#Snap.parse"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2300 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2300">➭</a></h3></header>
<section><divclass="extra"id="Snap.parse-extra"></div><divclass="dr-method"><p>Parses SVG fragment and converts it into a <ahref="#Fragment"class="dr-link">Fragment</a>
</div></section></article><articleid="Snap.parsePathString"class="Snap-parsePathString-section"><header><h3id="Snap.parsePathString"class="dr-method">Snap.parsePathString(pathString)<ahref="#Snap.parsePathString"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1051 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1051">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-array">array</em><spanclass="dr-description">array of segments</span></p>
</div></section></article><articleid="Snap.parseTransformString"class="Snap-parseTransformString-section"><header><h3id="Snap.parseTransformString"class="dr-method">Snap.parseTransformString(TString)<ahref="#Snap.parseTransformString"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1105 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1105">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-array">array</em><spanclass="dr-description">array of transformations</span></p>
</div></section></article><articleid="Snap.path"class="Snap-path-section"><header><h3id="Snap.path"class="undefined">Snap.path<ahref="#Snap.path"title="Link to this section"class="dr-hash">⚓</a></h3></header>
<section><divclass="extra"id="Snap.path-extra"></div></section></article><articleid="Snap.path.bezierBBox"class="Snap-path-bezierBBox-section"><header><h4id="Snap.path.bezierBBox"class="dr-method">Snap.path.bezierBBox(…)<ahref="#Snap.path.bezierBBox"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1212 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1212">➭</a></h4></header>
<olclass="dr-json"><li>{<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the left top point of the box,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the left top point of the box,</span>
<li><spanclass="dr-json-key">x2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the right bottom point of the box,</span>
<li><spanclass="dr-json-key">y2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the right bottom point of the box,</span>
<li><spanclass="dr-json-key">width:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">width of the box,</span>
<li><spanclass="dr-json-key">height:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">height of the box</span>
</div></section></article><articleid="Snap.path.findDotsAtSegment"class="Snap-path-findDotsAtSegment-section"><header><h4id="Snap.path.findDotsAtSegment"class="dr-method">Snap.path.findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t)<ahref="#Snap.path.findDotsAtSegment"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1184 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1184">➭</a></h4></header>
<spanclass="dr-description">position on the curve (0..1)</span></li>
</ol></div>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">point information in format:</span></p>
<olclass="dr-json"><li>{<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the point,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the point,</span>
<li> m: {<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the left anchor,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the left anchor</span>
</ol></li><li> },</li><li> n: {<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the right anchor,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the right anchor</span>
</ol></li><li> },</li><li> start: {<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the start of the curve,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the start of the curve</span>
</ol></li><li> },</li><li> end: {<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the end of the curve,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the end of the curve</span>
</ol></li><li> },</li><li><spanclass="dr-json-key">alpha:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">angle of the curve derivative at the point</span>
</div></section></article><articleid="Snap.path.getBBox"class="Snap-path-getBBox-section"><header><h4id="Snap.path.getBBox"class="dr-method">Snap.path.getBBox(path)<ahref="#Snap.path.getBBox"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1296 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1296">➭</a></h4></header>
<olclass="dr-json"><li>{<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the left top point of the box,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the left top point of the box,</span>
<li><spanclass="dr-json-key">x2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the right bottom point of the box,</span>
<li><spanclass="dr-json-key">y2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the right bottom point of the box,</span>
<li><spanclass="dr-json-key">width:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">width of the box,</span>
<li><spanclass="dr-json-key">height:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">height of the box</span>
</div></section></article><articleid="Snap.path.getPointAtLength"class="Snap-path-getPointAtLength-section"><header><h4id="Snap.path.getPointAtLength"class="dr-method">Snap.path.getPointAtLength(path, length)<ahref="#Snap.path.getPointAtLength"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1078 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1078">➭</a></h4></header>
<section><divclass="extra"id="Snap.path.getPointAtLength-extra"></div><divclass="dr-method"><p>Returns the coordinates of the point located at the given length along the given path
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">representation of the point:</span></p>
<li><spanclass="dr-json-key">alpha:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">angle of derivative</span>
</div></section></article><articleid="Snap.path.getSubpath"class="Snap-path-getSubpath-section"><header><h4id="Snap.path.getSubpath"class="dr-method">Snap.path.getSubpath(path, from, to)<ahref="#Snap.path.getSubpath"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1091 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1091">➭</a></h4></header>
<section><divclass="extra"id="Snap.path.getSubpath-extra"></div><divclass="dr-method"><p>Returns the subpath of a given path between given start and end lengths
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">path string definition for the segment</span></p>
</div></section></article><articleid="Snap.path.getTotalLength"class="Snap-path-getTotalLength-section"><header><h4id="Snap.path.getTotalLength"class="dr-method">Snap.path.getTotalLength(path)<ahref="#Snap.path.getTotalLength"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1061 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1061">➭</a></h4></header>
</div></section></article><articleid="Snap.path.intersection"class="Snap-path-intersection-section"><header><h4id="Snap.path.intersection"class="dr-method">Snap.path.intersection(path1, path2)<ahref="#Snap.path.intersection"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1261 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1261">➭</a></h4></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-array">array</em><spanclass="dr-description">dots of intersection</span></p>
<olclass="dr-json"><li>[<li> {<olclass="dr-json"><li><spanclass="dr-json-key">x:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">x coordinate of the point,</span>
<li><spanclass="dr-json-key">y:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">y coordinate of the point,</span>
<li><spanclass="dr-json-key">t1:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">t value for segment of path1,</span>
<li><spanclass="dr-json-key">t2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">t value for segment of path2,</span>
<li><spanclass="dr-json-key">segment1:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">order number for segment of path1,</span>
<li><spanclass="dr-json-key">segment2:</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">order number for segment of path2,</span>
<li><spanclass="dr-json-key">bez1:</span><spanclass="dr-type"><emclass="dr-type-array">array</em></span><spanclass="dr-json-description">eight coordinates representing beziér curve for the segment of path1,</span>
<li><spanclass="dr-json-key">bez2:</span><spanclass="dr-type"><emclass="dr-type-array">array</em></span><spanclass="dr-json-description">eight coordinates representing beziér curve for the segment of path2</span>
</div></section></article><articleid="Snap.path.isBBoxIntersect"class="Snap-path-isBBoxIntersect-section"><header><h4id="Snap.path.isBBoxIntersect"class="dr-method">Snap.path.isBBoxIntersect(bbox1, bbox2)<ahref="#Snap.path.isBBoxIntersect"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1237 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1237">➭</a></h4></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if bounding boxes intersect</span></p>
</div></section></article><articleid="Snap.path.isPointInside"class="Snap-path-isPointInside-section"><header><h4id="Snap.path.isPointInside"class="dr-method">Snap.path.isPointInside(path, x, y)<ahref="#Snap.path.isPointInside"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1277 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1277">➭</a></h4></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if point is inside the path</span></p>
</div></section></article><articleid="Snap.path.isPointInsideBBox"class="Snap-path-isPointInsideBBox-section"><header><h4id="Snap.path.isPointInsideBBox"class="dr-method">Snap.path.isPointInsideBBox(bbox, x, y)<ahref="#Snap.path.isPointInsideBBox"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1225 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1225">➭</a></h4></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if point is inside</span></p>
</div></section></article><articleid="Snap.path.map"class="Snap-path-map-section"><header><h4id="Snap.path.map"class="dr-method">Snap.path.map(path, matrix)<ahref="#Snap.path.map"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1340 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1340">➭</a></h4></header>
</div></section></article><articleid="Snap.path.toAbsolute"class="Snap-path-toAbsolute-section"><header><h4id="Snap.path.toAbsolute"class="dr-method">Snap.path.toAbsolute(path)<ahref="#Snap.path.toAbsolute"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1319 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1319">➭</a></h4></header>
</div></section></article><articleid="Snap.path.toCubic"class="Snap-path-toCubic-section"><header><h4id="Snap.path.toCubic"class="dr-method">Snap.path.toCubic(pathString)<ahref="#Snap.path.toCubic"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1330 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1330">➭</a></h4></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-array">array</em><spanclass="dr-description">array of segments</span></p>
</div></section></article><articleid="Snap.path.toRelative"class="Snap-path-toRelative-section"><header><h4id="Snap.path.toRelative"class="dr-method">Snap.path.toRelative(path)<ahref="#Snap.path.toRelative"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1308 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1308">➭</a></h4></header>
</div></section></article><articleid="Snap.rad"class="Snap-rad-section"><header><h3id="Snap.rad"class="dr-method">Snap.rad(deg)<ahref="#Snap.rad"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 282 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L282">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-number">number</em><spanclass="dr-description">angle in radians</span></p>
</div></section></article><articleid="Snap.rgb"class="Snap-rgb-section"><header><h3id="Snap.rgb"class="dr-method">Snap.rgb(r, g, b)<ahref="#Snap.rgb"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 770 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L770">➭</a></h3></header>
<section><divclass="extra"id="Snap.rgb-extra"></div><divclass="dr-method"><p>Converts RGB values to a hex representation of the color
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">hex representation of the color</span></p>
</div></section></article><articleid="Snap.rgb2hsb"class="Snap-rgb2hsb-section"><header><h3id="Snap.rgb2hsb"class="dr-method">Snap.rgb2hsb(r, g, b)<ahref="#Snap.rgb2hsb"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 984 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L984">➭</a></h3></header>
<section><divclass="extra"id="Snap.rgb2hsb-extra"></div><divclass="dr-method"><p>Converts RGB values to an HSB object
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">HSB object in the following format:</span></p>
</div></section></article><articleid="Snap.rgb2hsl"class="Snap-rgb2hsl-section"><header><h3id="Snap.rgb2hsl"class="dr-method">Snap.rgb2hsl(r, g, b)<ahref="#Snap.rgb2hsl"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1017 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1017">➭</a></h3></header>
<section><divclass="extra"id="Snap.rgb2hsl-extra"></div><divclass="dr-method"><p>Converts RGB values to an HSL object
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">HSL object in the following format:</span></p>
</div></section></article><articleid="Snap.select"class="Snap-select-section"><header><h3id="Snap.select"class="dr-method">Snap.select(query)<ahref="#Snap.select"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1372 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1372">➭</a></h3></header>
<section><divclass="extra"id="Snap.select-extra"></div><divclass="dr-method"><p>Wraps a DOM element specified by CSS selector as <ahref="#Element"class="dr-link">Element</a>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">the current element</span></p>
</div></section></article><articleid="Snap.selectAll"class="Snap-selectAll-section"><header><h3id="Snap.selectAll"class="dr-method">Snap.selectAll(query)<ahref="#Snap.selectAll"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1383 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1383">➭</a></h3></header>
<section><divclass="extra"id="Snap.selectAll-extra"></div><divclass="dr-method"><p>Wraps DOM elements specified by CSS selector as set or array of <ahref="#Element"class="dr-link">Element</a>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-Element">Element</em><spanclass="dr-description">the current element</span></p>
</div></section></article><articleid="Snap.snapTo"class="Snap-snapTo-section"><header><h3id="Snap.snapTo"class="dr-method">Snap.snapTo(values, value, [tolerance])<ahref="#Snap.snapTo"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 328 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L328">➭</a></h3></header>
<section><divclass="extra"id="Snap.snapTo-extra"></div><divclass="dr-method"><p>Snaps given value to given grid
</div></section></article><articleid="mina"class="mina-section"><header><h2id="mina"class="dr-method">mina(a, A, b, B, get, set, [easing])<ahref="#mina"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 157 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L157">➭</a></h2></header>
<section><divclass="extra"id="mina-extra"></div><divclass="dr-method"><p>Generic animation of numbers
<li><spanclass="dr-json-key">s</span><spanclass="dr-type"><emclass="dr-type-number">number</em></span><spanclass="dr-json-description">animation status (0..1),</span>
<li><spanclass="dr-json-key">get</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">getter of <em>master</em> number (see <ahref="#mina.time"class="dr-link">mina.time</a>),</span>
<li><spanclass="dr-json-key">set</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">setter of <em>slave</em> number,</span>
<li><spanclass="dr-json-key">easing</span><spanclass="dr-type"><emclass="dr-type-function">function</em></span><spanclass="dr-json-description">easing function, default is <ahref="#mina.linear"class="dr-link">mina.linear</a>,</span>
</div></section></article><articleid="mina.backin"class="mina-backin-section"><header><h3id="mina.backin"class="dr-method">mina.backin(n)<ahref="#mina.backin"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 274 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L274">➭</a></h3></header>
</div></section></article><articleid="mina.backout"class="mina-backout-section"><header><h3id="mina.backout"class="dr-method">mina.backout(n)<ahref="#mina.backout"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 289 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L289">➭</a></h3></header>
</div></section></article><articleid="mina.bounce"class="mina-bounce-section"><header><h3id="mina.bounce"class="dr-method">mina.bounce(n)<ahref="#mina.bounce"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 320 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L320">➭</a></h3></header>
</div></section></article><articleid="mina.easein"class="mina-easein-section"><header><h3id="mina.easein"class="dr-method">mina.easein(n)<ahref="#mina.easein"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 239 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L239">➭</a></h3></header>
</div></section></article><articleid="mina.easeinout"class="mina-easeinout-section"><header><h3id="mina.easeinout"class="dr-method">mina.easeinout(n)<ahref="#mina.easeinout"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 250 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L250">➭</a></h3></header>
</div></section></article><articleid="mina.easeout"class="mina-easeout-section"><header><h3id="mina.easeout"class="dr-method">mina.easeout(n)<ahref="#mina.easeout"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 228 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L228">➭</a></h3></header>
</div></section></article><articleid="mina.elastic"class="mina-elastic-section"><header><h3id="mina.elastic"class="dr-method">mina.elastic(n)<ahref="#mina.elastic"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 305 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L305">➭</a></h3></header>
</div></section></article><articleid="mina.getById"class="mina-getById-section"><header><h3id="mina.getById"class="dr-method">mina.getById(id)<ahref="#mina.getById"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 205 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L205">➭</a></h3></header>
<section><divclass="extra"id="mina.getById-extra"></div><divclass="dr-method"><p>Returns an animation by its id
</div></section></article><articleid="mina.linear"class="mina-linear-section"><header><h3id="mina.linear"class="dr-method">mina.linear(n)<ahref="#mina.linear"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 217 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L217">➭</a></h3></header>
<section><divclass="extra"id="mina.linear-extra"></div><divclass="dr-method"><p>Default linear easing
</div></section></article><articleid="mina.time"class="mina-time-section"><header><h3id="mina.time"class="dr-method">mina.time()<ahref="#mina.time"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 196 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L196">➭</a></h3></header>
<section><divclass="extra"id="mina.time-extra"></div><divclass="dr-method"><p>Returns the current time. Equivalent to: