<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 1624 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1624">➭</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 1677 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1677">➭</a></h3></header>
</div></section></article><articleid="Element.animate"class="Element-animate-section"><header><h3id="Element.animate"class="dr-method">Element.animate(attrs, ms, [easing], [callback])<ahref="#Element.animate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2107 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2107">➭</a></h3></header>
</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 1618 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1618">➭</a></h3></header>
</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 1765 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1765">➭</a></h3></header>
<section><divclass="extra"id="Element.asPX-extra"></div><divclass="dr-method"><p>Return 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 1465 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1465">➭</a></h3></header>
<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 1661 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1661">➭</a></h3></header>
</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 1808 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1808">➭</a></h3></header>
</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 2178 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2178">➭</a></h3></header>
</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 454 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L454">➭</a></h3></header>
<p>Additionaly following <code>drag</code> events will be triggered: <code>drag.start.<id></code> on start,
<code>drag.end.<id></code> on end and <code>drag.move.<id></code> on every move. When element will be dragged over another element
<code>drag.over.<id></code> will be fired as well.
</p>
<p>Start event and start handler will be called in specified context or in context of the element with following parameters:
</p>
<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>
<p>Move event and move handler will be called in specified context or in context of the element with following parameters:
</p>
<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>
<spanclass="dr-description">context for drag end handler</span></li>
</ol></div>
<p>Additionaly following <code>drag</code> events will be triggered: <code>drag.start.<id></code> on start,
<code>drag.end.<id></code> on end and <code>drag.move.<id></code> on every move. When element will be dragged over another element
<code>drag.over.<id></code> will be fired as well.
</p>
<p>Start event and start handler will be called in specified context or in context of the element with following parameters:
</p>
<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>
<p>Move event and move handler will be called in specified context or in context of the element with following parameters:
</p>
<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 1512 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1512">➭</a></h3></header>
<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 the circle that will enclose 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 biggest 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 right side,</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 left side</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 1119 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1119">➭</a></h3></header>
<section><divclass="extra"id="Element.getPointAtLength-extra"></div><divclass="dr-method"><p>Return coordinates of the point located at the given length on the given path. Only works for element of “path” type.
<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 1133 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1133">➭</a></h3></header>
<section><divclass="extra"id="Element.getSubpath-extra"></div><divclass="dr-method"><p>Return subpath of a given element from given length to given length. Only works for element of “path” type.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">pathstring 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 1099 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1099">➭</a></h3></header>
<section><divclass="extra"id="Element.getTotalLength-extra"></div><divclass="dr-method"><p>Returns length of the path in pixels. Only works for element of “path” type.
</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 2029 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2029">➭</a></h3></header>
<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 2226 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2226">➭</a></h3></header>
<section><divclass="extra"id="Element.innerSVG-extra"></div><divclass="dr-method"><p>Returns SVG code of the element. Equivalent to <code>innerHTML</code> in HTML context.
</p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code of 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 1707 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1707">➭</a></h3></header>
</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 1692 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1692">➭</a></h3></header>
</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 1954 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1954">➭</a></h3></header>
<section><divclass="extra"id="Element.marker-extra"></div><divclass="dr-method"><p>Creates <code><marker></code> element from the current element.
To create a marker you have to specify the bounding rect and reference point:
</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 1606 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1606">➭</a></h3></header>
</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 1915 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1915">➭</a></h3></header>
<section><divclass="extra"id="Element.pattern-extra"></div><divclass="dr-method"><p>Creates <code><pattern></code> element from the current element.
To create a pattern you have to specify the pattern rect:
<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 1646 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1646">➭</a></h3></header>
</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 1720 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1720">➭</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 2203 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2203">➭</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 1735 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1735">➭</a></h3></header>
<section><divclass="extra"id="Element.select-extra"></div><divclass="dr-method"><p>Applies CSS selector with the element as a parent and returns the result as an <ahref="#Element"class="dr-link">Element</a>.
<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 1747 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1747">➭</a></h3></header>
<section><divclass="extra"id="Element.selectAll-extra"></div><divclass="dr-method"><p>Applies CSS selector with the element as a parent and returns the result as a set or array of elements.
<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 2088 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2088">➭</a></h3></header>
</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 1887 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1887">➭</a></h3></header>
<section><divclass="extra"id="Element.toDefs-extra"></div><divclass="dr-method"><p>Moves element to the relative <code><defs></code> section.
</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 2911 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2911">➭</a></h3></header>
<section><divclass="extra"id="Element.toString-extra"></div><divclass="dr-method"><p>Returns SVG code of the element. Equivalent to <code>outerHTML</code> in HTML context.
</p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code of the element.</span></p>
</div><divclass="dr-method"><p>Returns SVG code of the <ahref="#Paper"class="dr-link">Paper</a>.
</p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code of 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 1564 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1564">➭</a></h3></header>
<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 463 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mouse.js#L463">➭</a></h3></header>
</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 1779 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1779">➭</a></h3></header>
<section><divclass="extra"id="Element.use-extra"></div><divclass="dr-method"><p>Creates <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 2295 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2295">➭</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 2302 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2302">➭</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 388 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L388">➭</a></h3></header>
</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 434 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L434">➭</a></h3></header>
</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 422 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L422">➭</a></h3></header>
</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 474 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L474">➭</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 458 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L458">➭</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 538 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L538">➭</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 580 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L580">➭</a></h3></header>
</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 445 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L445">➭</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 492 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L492">➭</a></h3></header>
<section><divclass="extra"id="Matrix.x-extra"></div><divclass="dr-method"><p>Return 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 504 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L504">➭</a></h3></header>
<section><divclass="extra"id="Matrix.y-extra"></div><divclass="dr-method"><p>Return 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 2573 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2573">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “circle”</span></p>
</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 2513 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2513">➭</a></h3></header>
<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 2661 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2661">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “ellipse”</span></p>
</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 36 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L36">➭</a></h3></header>
</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 2735 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2735">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “g”</span></p>
</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 2895 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2895">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “gradient”</span></p>
</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 2741 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2741">➭</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 2618 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2618">➭</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 “image”</span></p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “image”</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 2797 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2797">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “line”</span></p>
</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 2705 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2705">➭</a></h3></header>
<p>Here we can see two commands: “M”, with arguments <code>(10, 20)</code> and “L” with arguments <code>(30, 40)</code>. Upper case letter mean command is absolute, lower case—relative.
</p>
<p></p>
<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>
</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 2846 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2846">➭</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 2826 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2826">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “text”</span></p>
</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 2536 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2536">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “rect”</span></p>
</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 2769 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2769">➭</a></h3></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Element object with type “text”</span></p>
</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 2911 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2911">➭</a></h3></header>
<section><divclass="extra"id="Paper.toString-extra"></div><divclass="dr-method"><p>Returns SVG code of the element. Equivalent to <code>outerHTML</code> in HTML context.
</p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">SVG code of the element.</span></p>
</div><divclass="dr-method"><p>Returns SVG code of 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 of 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>
<section><divclass="extra"id="Set.clear-extra"></div><divclass="dr-method"><p>Removeds all elements from the set
</p>
</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
<spanclass="dr-description">element to remove</span></li>
</ol></div>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if object was found & 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>
<section><divclass="extra"id="Set.forEach-extra"></div><divclass="dr-method"><p>Executes given function for each element in the set.
</p>
<p>If function returns <code>false</code> it will stop loop running.
</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>
<section><divclass="extra"id="Set.pop-extra"></div><divclass="dr-method"><p>Removes last element and returns it.
</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>
<section><divclass="extra"id="Set.push-extra"></div><divclass="dr-method"><p>Adds each argument to the current set.
</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>
<section><divclass="extra"id="Set.splice-extra"></div><divclass="dr-method"><p>Removes given element from the set
<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 611 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L611">➭</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 2943 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2943">➭</a></h3></header>
<section><divclass="extra"id="Snap.ajax-extra"></div><divclass="dr-method"><p>Simple implementation of Ajax.
<spanclass="dr-description">scope of callback</span></li>
</ol></div>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-XMLHttpRequest">XMLHttpRequest</em><spanclass="dr-description">XMLHttpRequest (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 305 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L305">➭</a></h3></header>
<section><divclass="extra"id="Snap.angle-extra"></div><divclass="dr-method"><p>Returns angle between two or three points.
<spanclass="dr-description">y coord of third point</span></li>
</ol></div>
<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, ms, [easing], [callback])<ahref="#Snap.animate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2070 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2070">➭</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, ms, [easing], [callback])<ahref="#Snap.animation"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2012 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2012">➭</a></h3></header>
</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 847 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L847">➭</a></h3></header>
<section><divclass="extra"id="Snap.color-extra"></div><divclass="dr-method"><p>Parses the color string and returns object with all values for the given color.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">Combined RGB & HSB object in 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 cant be parsed,</span>
</div></section></article><articleid="Snap.deg"class="Snap-deg-section"><header><h3id="Snap.deg"class="dr-method">Snap.deg(deg)<ahref="#Snap.deg"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 290 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L290">➭</a></h3></header>
<section><divclass="extra"id="Snap.deg-extra"></div><divclass="dr-method"><p>Transform angle to degrees
<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 100 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L100">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.blur-extra"></div><divclass="dr-method"><p>Returns string of 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 279 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L279">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.brightness-extra"></div><divclass="dr-method"><p>Returns string of 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 299 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L299">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.contrast-extra"></div><divclass="dr-method"><p>Returns string of 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 165 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L165">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.grayscale-extra"></div><divclass="dr-method"><p>Returns string of 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 240 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L240">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.hueRotate-extra"></div><divclass="dr-method"><p>Returns string of 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 258 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L258">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.invert-extra"></div><divclass="dr-method"><p>Returns string of 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 220 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L220">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.saturate-extra"></div><divclass="dr-method"><p>Returns string of 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 192 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L192">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.sepia-extra"></div><divclass="dr-method"><p>Returns string of 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 129 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/filter.js#L129">➭</a></h4></header>
<section><divclass="extra"id="Snap.filter.shadow-extra"></div><divclass="dr-method"><p>Returns string of 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 173 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L173">➭</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 will draw 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 2312 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2312">➭</a></h3></header>
<section><divclass="extra"id="Snap.fragment-extra"></div><divclass="dr-method"><p>Creates DOM fragment from given list of elements or strings
</div></section></article><articleid="Snap.getRGB"class="Snap-getRGB-section"><header><h3id="Snap.getRGB"class="dr-method">Snap.getRGB(colour)<ahref="#Snap.getRGB"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 646 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L646">➭</a></h3></header>
<section><divclass="extra"id="Snap.getRGB-extra"></div><divclass="dr-method"><p>Parses colour string as RGB object
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">RGB object in 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 cant 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 734 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L734">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsb-extra"></div><divclass="dr-method"><p>Converts HSB values to hex representation of the colour.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">hex representation of the colour.</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 899 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L899">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsb2rgb-extra"></div><divclass="dr-method"><p>Converts HSB values to RGB object.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">RGB object in 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 747 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L747">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsl-extra"></div><divclass="dr-method"><p>Converts HSL values to hex representation of the colour.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">hex representation of the colour.</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 935 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L935">➭</a></h3></header>
<section><divclass="extra"id="Snap.hsl2rgb-extra"></div><divclass="dr-method"><p>Converts HSL values to RGB object.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">RGB object in 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 315 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L315">➭</a></h3></header>
<section><divclass="extra"id="Snap.is-extra"></div><divclass="dr-method"><p>Handfull replacement for <code>typeof</code> operator.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description">is 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 2989 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2989">➭</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>. For more advanced AJAX see <ahref="#Snap.ajax"class="dr-link">Snap.ajax</a>.
</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 2264 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L2264">➭</a></h3></header>
<section><divclass="extra"id="Snap.parse-extra"></div><divclass="dr-method"><p>Parses SVG fragment and converts it into <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 1040 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1040">➭</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 1093 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1093">➭</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 1206 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1206">➭</a></h4></header>
<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> min: {<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 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 top point</span>
</ol></li><li> }</li><li> max: {<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 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 bottom point</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 1176 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1176">➭</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 1288 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1288">➭</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 1072 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1072">➭</a></h4></header>
<section><divclass="extra"id="Snap.path.getPointAtLength-extra"></div><divclass="dr-method"><p>Return coordinates of the point located at the given length on 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 1085 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1085">➭</a></h4></header>
<section><divclass="extra"id="Snap.path.getSubpath-extra"></div><divclass="dr-method"><p>Return subpath of a given path from given length to given length.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">pathstring 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 1055 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1055">➭</a></h4></header>
<section><divclass="extra"id="Snap.path.getTotalLength-extra"></div><divclass="dr-method"><p>Returns length of the given path in pixels.
</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 1255 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1255">➭</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 1231 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1231">➭</a></h4></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if they 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 1269 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1269">➭</a></h4></header>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description">true, 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 1219 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1219">➭</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 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 1332 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1332">➭</a></h4></header>
<section><divclass="extra"id="Snap.path.map-extra"></div><divclass="dr-method"><p>Transform the path string with given matrix.
</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 1311 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1311">➭</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 1322 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1322">➭</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 1300 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/path.js#L1300">➭</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 281 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L281">➭</a></h3></header>
<section><divclass="extra"id="Snap.rad-extra"></div><divclass="dr-method"><p>Transform angle to radians
<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 760 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L760">➭</a></h3></header>
<section><divclass="extra"id="Snap.rgb-extra"></div><divclass="dr-method"><p>Converts RGB values to hex representation of the colour.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-string">string</em><spanclass="dr-description">hex representation of the colour.</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 974 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L974">➭</a></h3></header>
<section><divclass="extra"id="Snap.rgb2hsb-extra"></div><divclass="dr-method"><p>Converts RGB values to HSB object.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">HSB object in 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 1007 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1007">➭</a></h3></header>
<section><divclass="extra"id="Snap.rgb2hsl-extra"></div><divclass="dr-method"><p>Converts RGB values to HSL object.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">HSL object in 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 1359 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1359">➭</a></h3></header>
<section><divclass="extra"id="Snap.select-extra"></div><divclass="dr-method"><p>Wraps DOM element specified by CSS selector as <ahref="#Element"class="dr-link">Element</a>
</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 1370 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L1370">➭</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>
</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 326 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/svg.js#L326">➭</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 156 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L156">➭</a></h2></header>
<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 “master” 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 “slave” 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 273 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L273">➭</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 288 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L288">➭</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 319 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L319">➭</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 238 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L238">➭</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 249 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L249">➭</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 227 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L227">➭</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 304 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L304">➭</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 204 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L204">➭</a></h3></header>
</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 216 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L216">➭</a></h3></header>
</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 195 in the source"href="https://github.com/adobe-webplatform/savage/blob/master/src/mina.js#L195">➭</a></h3></header>