<htmllang="en"><head><metacharset="utf-8"><title>Raphaël 2.0 Reference</title><linkrel="stylesheet"href="dr.css"></head><bodyid="dr-js"><divid="dr"><olclass="dr-toc"><liclass="dr-lvl0"><ahref="#Animation"class="{clas}"><span>Animation</span></a></li><liclass="dr-lvl1"><ahref="#Animation.delay"class="dr-method"><span>Animation.delay()</span></a></li><liclass="dr-lvl1"><ahref="#Animation.repeat"class="dr-method"><span>Animation.repeat()</span></a></li><liclass="dr-lvl0"><ahref="#Element"class="{clas}"><span>Element</span></a></li><liclass="dr-lvl1"><ahref="#Element.animate"class="dr-method"><span>Element.animate()</span></a></li><liclass="dr-lvl1"><ahref="#Element.animateWith"class="dr-method"><span>Element.animateWith()</span></a></li><liclass="dr-lvl1"><ahref="#Element.attr"class="dr-method"><span>Element.attr()</span></a></li><liclass="dr-lvl1"><ahref="#Element.click"class="dr-method"><span>Element.click()</span></a></li><liclass="dr-lvl1"><ahref="#Element.clone"class="dr-method"><span>Element.clone()</span></a></li><liclass="dr-lvl1"><ahref="#Element.data"class="dr-method"><span>Element.data()</span></a></li><liclass="dr-lvl1"><ahref="#Element.dblclick"class="dr-method"><span>Element.dblclick()</span></a></li><liclass="dr-lvl1"><ahref="#Element.drag"class="dr-method"><span>Element.drag()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getBBox"class="dr-method"><span>Element.getBBox()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getPointAtLength"class="dr-method"><span>Element.getPointAtLength()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getSubpath"class="dr-method"><span>Element.getSubpath()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getTotalLength"class="dr-method"><span>Element.getTotalLength()</span></a></li><liclass="dr-lvl1"><ahref="#Element.glow"class="dr-method"><span>Element.glow()</span></a></li><liclass="dr-lvl1"><ahref="#Element.hide"class="dr-method"><span>Element.hide()</span></a></li><liclass="dr-lvl1"><ahref="#Element.hover"class="dr-method"><span>Element.hover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.id"class="dr-property"><span>Element.id</span></a></li><liclass="dr-lvl1"><ahref="#Element.insertAfter"class="dr-method"><span>Element.insertAfter()</span></a></li><liclass="dr-lvl1"><ahref="#Element.insertBefore"class="dr-method"><span>Element.insertBefore()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mousedown"class="dr-method"><span>Element.mousedown()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mousemove"class="dr-method"><span>Element.mousemove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mouseout"class="dr-method"><span>Element.mouseout()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mouseover"class="dr-method"><span>Element.mouseover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mouseup"class="dr-method"><span>Element.mouseup()</span></a></li><liclass="dr-lvl1"><ahref="#Element.next"class="dr-property"><span>Element.next</span></a></li><liclass="dr-lvl1"><ahref="#Element.node"class="dr-property"><span>Element.node</span></a></li><liclass="dr-lvl1"><ahref="#Element.onDragOver"class="dr-method"><span>Element.onDragOver()</span></a></li><liclass="dr-lvl1"><ahref="#Element.paper"class="dr-property"><span>Element.paper</span></a></li><liclass="dr-lvl1"><ahref="#Element.pause"class="dr-method"><span>Element.pause()</span></a></li><liclass="dr-lvl1"><ahref="#Element.prev"class="dr-property"><span>Element.prev</span></a></li><liclass="dr-lvl1"><ahref="#Element.raphael"class="dr-property"><span>Element.raphael</span></a></li><liclass="dr-lvl1"><ahref="#Element.remove"class="dr-method"><span>Element.remove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.removeData"class="dr-method"><span>Element.removeData()</span></a></li><liclass="dr-lvl1"><ahref="#Element.resume"class="dr-method"><span>Element.resume()</span></a></li><liclass="dr-lvl1"><ahref="#Element.rotate"class="dr-method"><span>Element.rotate()</span></a></li><liclass="dr-lvl1"><ahref="#Element.scale"class="dr-method"><span>Element.scale()</span></a></li><liclass="dr-lvl1"><ahref="#Element.setTime"class="dr-method"><span>Element.setTime()</span></a></li><liclass="dr-lvl1"><ahref="#Element.show"class="dr-method"><span>Element.show()</span></a></li><liclass="dr-lvl1"><ahref="#Element.status"class="dr-method"><span>Element.status()</span></a></li><liclass="dr-lvl1"><ahref="#Element.stop"class="dr-method"><span>Element.stop()</span></a></li><liclass="dr-lvl1"><ahref="#Element.toBack"class="dr-method"><span>Element.toBack()</span></a></li><liclass="dr-lvl1"><ahref="#Element.toFront"class="dr-method"><span>Element.toFront()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchcancel"class="dr-method"><span>Element.touchcancel()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchend"class="dr-method"><span>Element.touchend()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchmove"class="dr-method"><span>Element.touchmove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchstart"class="dr-method"><span>Element.touchstart()</span></a></li><liclass="dr-lvl1"><ahref="#Element.transform"class="dr-method"><span>Element.transform()</span></a></li><liclass="dr-lvl1"><ahref="#Element.translate"class="dr-method"><span>Element.translate()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unclick"class="dr-method"><span>Element.unclick()</span></a></li><liclass="dr-lvl1"><ahref="#Element.undblclick"class="dr-method"><span>Element.undblclick()</span></a></li><liclass="dr-lvl1"><ahref="#Element.undrag"class="dr-method"><span>Element.undrag()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unhover"class="dr-method"><span>Element.unhover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmousedown"class="dr-method"><span>Element.unmousedown()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmousemove"class="dr-method"><span>Element.unmousemove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmouseout"class="dr-method"><span>Element.unmouseout()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmouseover"class="dr-method"><span>Element.unmouseover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmouseup"class="dr-method"><span>Element.unmouseup()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchcancel"class="dr-method"><span>Element.untouchcancel()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchend"class="dr-method"><span>Element.untouchend()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchmove"class="dr-method"><span>Element.untouchmove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchstart"class="dr-method"><span>Element.untouchstart()</span></a></li><liclass="dr-lvl0"><ahref="#Matrix"class="{clas}"><span>Matrix</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.add"class="dr-method"><span>Matrix.add()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.clone"class="dr-method"><span>Matrix.clone()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.invert"class="dr-method"><span>Matrix.invert()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.rotate"class="dr-method"><span>Matrix.rotate()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.scale"class="dr-method"><span>Matrix.scale()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.split"class="dr-method"><span>Matrix.split()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.toTransformString"class="dr-method"><span>Matrix.toTransformString()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.translate"class="dr-method"><span>Matrix.translate()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.x"class="dr-method"><span>Matrix.x()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.y"class="dr-method"><span>Matrix.y()</span></a></li><liclass="dr-lvl0"><ahref="#Paper"class="{clas}"><span>Paper</span></a></li><liclass="dr-lvl1"><ahref="#Paper.bottom"class="dr-property"><span>Paper.bottom</span></a></li><liclass="dr-lvl1"><ahref="#Paper.circle"class="dr-method"><span>Paper.circle()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.clear"class="dr-method"><span>Paper.clear()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.customAttributes"class="dr-property"><span>Paper.customAttributes</span></a></li><liclass="dr-lvl1"><ahref="#Paper.ellipse"class="dr-method"><span>Paper.ellipse()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.forEach"class="dr-method"><span>Paper.forEach()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.getById"class="dr-method"><span>Paper.getById()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.getElementByPoint"class="dr-method"><span>Paper.getElementByPoint()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.getFont"class="dr-method"><span>Paper.getFont()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.image"class="dr-method"><span>Paper.image()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.path"class="dr-method"><span>Paper.path()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.print"class="dr-method"><span>Paper.print()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.raphael"class="dr-property"><span>Paper.raphael</span></a></li><liclass="dr-lvl1"><ahref="#Paper.rect"class="dr-method"><span>Paper.rect()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.remove"class="dr-method"><span>Paper.remove()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.renderfix"class="dr-method"><span>Paper.renderfix()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.safari"class="dr-method"><span>Paper.safari()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.set"class="dr-method"><span>Paper.set()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setFinish"class="dr-method"><span>Paper.setFinish()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setSize"class="dr-method"><span>Paper.setSize()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setStart"class="dr-method"><span>Paper.setStart()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setViewBox"class="dr-method"><span>Paper.setViewBox()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.text"class="dr-method"><span>Paper.text()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.top"class="dr-property"><span>Paper.top</span></a></li><liclass="dr-lvl0"><ahref="#Raphael"class="dr-method"><span>Raphael()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.angle"class="dr-method"><span>Raphael.angle()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.animation"class="dr-method"><span>Raphael.animation()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.color"class="dr-method"><span>Raphael.color()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.deg"class="dr-method"><span>Raphael.deg()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.easing_formulas"class="dr-property"><span>Raphael.easing_formulas</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.el"class="dr-property"><span>Raphael.el</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.findDotsAtSegment"class="dr-method"><span>Raphael.findDotsAtSegment()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.fn"class="dr-property"><span>Raphael.fn</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.format"class="dr-method"><span>Raphael.format()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.fullfill"class="dr-method"><span>Raphael.fullfill()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getColor"class="dr-method"><span>Raphael.getColor()</span></a></li><liclass="dr-lvl2"><ahref="#Raphael.getColor.reset"class="dr-method"><span>Raphael.getColor.reset()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getPointAtLength"class="dr-method"><span>Raphael.getPointAtLength()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getRGB"class="dr-method"><span>Raphael.getRGB()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getSubpath"class="dr-method"><span>Raphael.getSubpath()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getTotalLength"class="dr-method"><span>Raphael.getTotalLength()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsb"class="dr-method"><span>Raphael.hsb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsb2rgb"class="dr-method"><span>Raphael.hsb2rgb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsl"class="dr-method"><span>Raphael.hsl()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsl2rgb"class="dr-method"><span>Raphael.hsl2rgb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.is"class="dr-method"><span>Raphael.is()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.matrix"class="dr-method"><span>Raphael.matrix()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.ninja"class="dr-method"><span>Raphael.ninja()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.parsePathString"class="dr-method"><span>Raphael.parsePathString()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.parseTransformString"class="dr-method"><span>Raphael.parseTransformString()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.path2curve"class="dr-method"><span>Raphael.path2curve()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.pathToRelative"class="dr-method"><span>Raphael.pathToRelative()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rad"class="dr-method"><span>Raphael.rad()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.registerFont"class="dr-method"><span>Raphael.registerFont()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rgb"class="dr-method"><span>Raphael.rgb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rgb2hsb"class="dr-method"><span>Raphael.rgb2hsb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rgb2hsl"class="dr-method"><span>Raphael.rgb2hsl()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.setWindow"class="dr-method"><span>Raphael.setWindow()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.snapTo"class="dr-method"><span>Raphael.snapTo()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.st"class="dr-property"><span>Raphael.st</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.svg"class="dr-property"><span>Raphael.svg</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.type"class="dr-property"><span>Raphael.type</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.vml"class="dr-property"><span>Raphael.vml</span></a></li><liclass="dr-lvl0"><ahref="#Set"class="{clas}"><span>Set</span></a></li><liclass="dr-lvl1"><ahref="#Set.forEach"class="dr-method"><span>Set.forEach()</span></a></li><liclass="dr-lvl1"><ahref="#Set.pop"class="dr-method"><span>Set.pop()</span></a></li><liclass="dr-lvl1"><ahref="#Set.push"class="dr-method"><span>Set.push()</span></a></li><liclass="dr-lvl0"><ahref="#eve"class="dr-method"><span>eve()</span></a></li><liclass="dr-lvl1"><ahref="#eve.listeners"class="dr-method"><span>eve.listeners()</span></a></li><liclass="dr-lvl1"><ahref="#eve.nt"class="dr-method"><span>eve.nt()</span></a></li><liclass="dr-lvl1"><ahref="#eve.on"class="dr-method"><span>eve.on()</span></a></li><liclass="dr-lvl1"><ahref="#eve.stop"class="dr-method"><span>eve.stop()</span></a></li><liclass="dr-lvl1"><ahref="#eve.unbind"class="dr-method"><span>eve.unbind()</span></a></li><liclass="dr-lvl1"><ahref="#eve.version"class="dr-property"><span>eve.version</span></a></li></ol><divclass="dr-doc"><h1>Raphaël 2.0 Reference</h1><divclass="Animation-section"><h2id="Animation"class="undefined"><iclass="dr-trixie"> </i>Animation<ahref="#Animation"title="Link to this section"class="dr-hash">⚓</a></h2>
<htmllang="en"><head><metacharset="utf-8"><title>Raphaël 2.0 Reference</title><linkrel="stylesheet"href="dr.css"></head><bodyid="dr-js"><divid="dr"><olclass="dr-toc"><liclass="dr-lvl0"><ahref="#Animation"class="{clas}"><span>Animation</span></a></li><liclass="dr-lvl1"><ahref="#Animation.delay"class="dr-method"><span>Animation.delay()</span></a></li><liclass="dr-lvl1"><ahref="#Animation.repeat"class="dr-method"><span>Animation.repeat()</span></a></li><liclass="dr-lvl0"><ahref="#Element"class="{clas}"><span>Element</span></a></li><liclass="dr-lvl1"><ahref="#Element.animate"class="dr-method"><span>Element.animate()</span></a></li><liclass="dr-lvl1"><ahref="#Element.animateWith"class="dr-method"><span>Element.animateWith()</span></a></li><liclass="dr-lvl1"><ahref="#Element.attr"class="dr-method"><span>Element.attr()</span></a></li><liclass="dr-lvl1"><ahref="#Element.click"class="dr-method"><span>Element.click()</span></a></li><liclass="dr-lvl1"><ahref="#Element.clone"class="dr-method"><span>Element.clone()</span></a></li><liclass="dr-lvl1"><ahref="#Element.data"class="dr-method"><span>Element.data()</span></a></li><liclass="dr-lvl1"><ahref="#Element.dblclick"class="dr-method"><span>Element.dblclick()</span></a></li><liclass="dr-lvl1"><ahref="#Element.drag"class="dr-method"><span>Element.drag()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getBBox"class="dr-method"><span>Element.getBBox()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getPointAtLength"class="dr-method"><span>Element.getPointAtLength()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getSubpath"class="dr-method"><span>Element.getSubpath()</span></a></li><liclass="dr-lvl1"><ahref="#Element.getTotalLength"class="dr-method"><span>Element.getTotalLength()</span></a></li><liclass="dr-lvl1"><ahref="#Element.glow"class="dr-method"><span>Element.glow()</span></a></li><liclass="dr-lvl1"><ahref="#Element.hide"class="dr-method"><span>Element.hide()</span></a></li><liclass="dr-lvl1"><ahref="#Element.hover"class="dr-method"><span>Element.hover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.id"class="dr-property"><span>Element.id</span></a></li><liclass="dr-lvl1"><ahref="#Element.insertAfter"class="dr-method"><span>Element.insertAfter()</span></a></li><liclass="dr-lvl1"><ahref="#Element.insertBefore"class="dr-method"><span>Element.insertBefore()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mousedown"class="dr-method"><span>Element.mousedown()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mousemove"class="dr-method"><span>Element.mousemove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mouseout"class="dr-method"><span>Element.mouseout()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mouseover"class="dr-method"><span>Element.mouseover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.mouseup"class="dr-method"><span>Element.mouseup()</span></a></li><liclass="dr-lvl1"><ahref="#Element.next"class="dr-property"><span>Element.next</span></a></li><liclass="dr-lvl1"><ahref="#Element.node"class="dr-property"><span>Element.node</span></a></li><liclass="dr-lvl1"><ahref="#Element.onDragOver"class="dr-method"><span>Element.onDragOver()</span></a></li><liclass="dr-lvl1"><ahref="#Element.paper"class="dr-property"><span>Element.paper</span></a></li><liclass="dr-lvl1"><ahref="#Element.pause"class="dr-method"><span>Element.pause()</span></a></li><liclass="dr-lvl1"><ahref="#Element.prev"class="dr-property"><span>Element.prev</span></a></li><liclass="dr-lvl1"><ahref="#Element.raphael"class="dr-property"><span>Element.raphael</span></a></li><liclass="dr-lvl1"><ahref="#Element.remove"class="dr-method"><span>Element.remove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.removeData"class="dr-method"><span>Element.removeData()</span></a></li><liclass="dr-lvl1"><ahref="#Element.resume"class="dr-method"><span>Element.resume()</span></a></li><liclass="dr-lvl1"><ahref="#Element.rotate"class="dr-method"><span>Element.rotate()</span></a></li><liclass="dr-lvl1"><ahref="#Element.scale"class="dr-method"><span>Element.scale()</span></a></li><liclass="dr-lvl1"><ahref="#Element.setTime"class="dr-method"><span>Element.setTime()</span></a></li><liclass="dr-lvl1"><ahref="#Element.show"class="dr-method"><span>Element.show()</span></a></li><liclass="dr-lvl1"><ahref="#Element.status"class="dr-method"><span>Element.status()</span></a></li><liclass="dr-lvl1"><ahref="#Element.stop"class="dr-method"><span>Element.stop()</span></a></li><liclass="dr-lvl1"><ahref="#Element.toBack"class="dr-method"><span>Element.toBack()</span></a></li><liclass="dr-lvl1"><ahref="#Element.toFront"class="dr-method"><span>Element.toFront()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchcancel"class="dr-method"><span>Element.touchcancel()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchend"class="dr-method"><span>Element.touchend()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchmove"class="dr-method"><span>Element.touchmove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.touchstart"class="dr-method"><span>Element.touchstart()</span></a></li><liclass="dr-lvl1"><ahref="#Element.transform"class="dr-method"><span>Element.transform()</span></a></li><liclass="dr-lvl1"><ahref="#Element.translate"class="dr-method"><span>Element.translate()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unclick"class="dr-method"><span>Element.unclick()</span></a></li><liclass="dr-lvl1"><ahref="#Element.undblclick"class="dr-method"><span>Element.undblclick()</span></a></li><liclass="dr-lvl1"><ahref="#Element.undrag"class="dr-method"><span>Element.undrag()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unhover"class="dr-method"><span>Element.unhover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmousedown"class="dr-method"><span>Element.unmousedown()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmousemove"class="dr-method"><span>Element.unmousemove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmouseout"class="dr-method"><span>Element.unmouseout()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmouseover"class="dr-method"><span>Element.unmouseover()</span></a></li><liclass="dr-lvl1"><ahref="#Element.unmouseup"class="dr-method"><span>Element.unmouseup()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchcancel"class="dr-method"><span>Element.untouchcancel()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchend"class="dr-method"><span>Element.untouchend()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchmove"class="dr-method"><span>Element.untouchmove()</span></a></li><liclass="dr-lvl1"><ahref="#Element.untouchstart"class="dr-method"><span>Element.untouchstart()</span></a></li><liclass="dr-lvl0"><ahref="#Matrix"class="{clas}"><span>Matrix</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.add"class="dr-method"><span>Matrix.add()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.clone"class="dr-method"><span>Matrix.clone()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.invert"class="dr-method"><span>Matrix.invert()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.rotate"class="dr-method"><span>Matrix.rotate()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.scale"class="dr-method"><span>Matrix.scale()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.split"class="dr-method"><span>Matrix.split()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.toTransformString"class="dr-method"><span>Matrix.toTransformString()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.translate"class="dr-method"><span>Matrix.translate()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.x"class="dr-method"><span>Matrix.x()</span></a></li><liclass="dr-lvl1"><ahref="#Matrix.y"class="dr-method"><span>Matrix.y()</span></a></li><liclass="dr-lvl0"><ahref="#Paper"class="{clas}"><span>Paper</span></a></li><liclass="dr-lvl1"><ahref="#Paper.bottom"class="dr-property"><span>Paper.bottom</span></a></li><liclass="dr-lvl1"><ahref="#Paper.circle"class="dr-method"><span>Paper.circle()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.clear"class="dr-method"><span>Paper.clear()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.customAttributes"class="dr-property"><span>Paper.customAttributes</span></a></li><liclass="dr-lvl1"><ahref="#Paper.ellipse"class="dr-method"><span>Paper.ellipse()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.forEach"class="dr-method"><span>Paper.forEach()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.getById"class="dr-method"><span>Paper.getById()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.getElementByPoint"class="dr-method"><span>Paper.getElementByPoint()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.getFont"class="dr-method"><span>Paper.getFont()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.image"class="dr-method"><span>Paper.image()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.path"class="dr-method"><span>Paper.path()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.print"class="dr-method"><span>Paper.print()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.raphael"class="dr-property"><span>Paper.raphael</span></a></li><liclass="dr-lvl1"><ahref="#Paper.rect"class="dr-method"><span>Paper.rect()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.remove"class="dr-method"><span>Paper.remove()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.renderfix"class="dr-method"><span>Paper.renderfix()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.safari"class="dr-method"><span>Paper.safari()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.set"class="dr-method"><span>Paper.set()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setFinish"class="dr-method"><span>Paper.setFinish()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setSize"class="dr-method"><span>Paper.setSize()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setStart"class="dr-method"><span>Paper.setStart()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.setViewBox"class="dr-method"><span>Paper.setViewBox()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.text"class="dr-method"><span>Paper.text()</span></a></li><liclass="dr-lvl1"><ahref="#Paper.top"class="dr-property"><span>Paper.top</span></a></li><liclass="dr-lvl0"><ahref="#Raphael"class="dr-method"><span>Raphael()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.angle"class="dr-method"><span>Raphael.angle()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.animation"class="dr-method"><span>Raphael.animation()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.color"class="dr-method"><span>Raphael.color()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.deg"class="dr-method"><span>Raphael.deg()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.easing_formulas"class="dr-property"><span>Raphael.easing_formulas</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.el"class="dr-property"><span>Raphael.el</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.findDotsAtSegment"class="dr-method"><span>Raphael.findDotsAtSegment()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.fn"class="dr-property"><span>Raphael.fn</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.format"class="dr-method"><span>Raphael.format()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.fullfill"class="dr-method"><span>Raphael.fullfill()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getColor"class="dr-method"><span>Raphael.getColor()</span></a></li><liclass="dr-lvl2"><ahref="#Raphael.getColor.reset"class="dr-method"><span>Raphael.getColor.reset()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getPointAtLength"class="dr-method"><span>Raphael.getPointAtLength()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getRGB"class="dr-method"><span>Raphael.getRGB()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getSubpath"class="dr-method"><span>Raphael.getSubpath()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.getTotalLength"class="dr-method"><span>Raphael.getTotalLength()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsb"class="dr-method"><span>Raphael.hsb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsb2rgb"class="dr-method"><span>Raphael.hsb2rgb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsl"class="dr-method"><span>Raphael.hsl()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.hsl2rgb"class="dr-method"><span>Raphael.hsl2rgb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.is"class="dr-method"><span>Raphael.is()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.matrix"class="dr-method"><span>Raphael.matrix()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.ninja"class="dr-method"><span>Raphael.ninja()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.parsePathString"class="dr-method"><span>Raphael.parsePathString()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.parseTransformString"class="dr-method"><span>Raphael.parseTransformString()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.path2curve"class="dr-method"><span>Raphael.path2curve()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.pathToRelative"class="dr-method"><span>Raphael.pathToRelative()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rad"class="dr-method"><span>Raphael.rad()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.registerFont"class="dr-method"><span>Raphael.registerFont()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rgb"class="dr-method"><span>Raphael.rgb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rgb2hsb"class="dr-method"><span>Raphael.rgb2hsb()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.rgb2hsl"class="dr-method"><span>Raphael.rgb2hsl()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.setWindow"class="dr-method"><span>Raphael.setWindow()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.snapTo"class="dr-method"><span>Raphael.snapTo()</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.st"class="dr-property"><span>Raphael.st</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.svg"class="dr-property"><span>Raphael.svg</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.type"class="dr-property"><span>Raphael.type</span></a></li><liclass="dr-lvl1"><ahref="#Raphael.vml"class="dr-property"><span>Raphael.vml</span></a></li><liclass="dr-lvl0"><ahref="#Set"class="{clas}"><span>Set</span></a></li><liclass="dr-lvl1"><ahref="#Set.clear"class="dr-method"><span>Set.clear()</span></a></li><liclass="dr-lvl1"><ahref="#Set.exclude"class="dr-method"><span>Set.exclude()</span></a></li><liclass="dr-lvl1"><ahref="#Set.forEach"class="dr-method"><span>Set.forEach()</span></a></li><liclass="dr-lvl1"><ahref="#Set.pop"class="dr-method"><span>Set.pop()</span></a></li><liclass="dr-lvl1"><ahref="#Set.push"class="dr-method"><span>Set.push()</span></a></li><liclass="dr-lvl1"><ahref="#Set.splice"class="dr-method"><span>Set.splice()</span></a></li><liclass="dr-lvl0"><ahref="#eve"class="dr-method"><span>eve()</span></a></li><liclass="dr-lvl1"><ahref="#eve.listeners"class="dr-method"><span>eve.listeners()</span></a></li><liclass="dr-lvl1"><ahref="#eve.nt"class="dr-method"><span>eve.nt()</span></a></li><liclass="dr-lvl1"><ahref="#eve.on"class="dr-method"><span>eve.on()</span></a></li><liclass="dr-lvl1"><ahref="#eve.stop"class="dr-method"><span>eve.stop()</span></a></li><liclass="dr-lvl1"><ahref="#eve.unbind"class="dr-method"><span>eve.unbind()</span></a></li><liclass="dr-lvl1"><ahref="#eve.version"class="dr-property"><span>eve.version</span></a></li></ol><divclass="dr-doc"><h1>Raphaël 2.0 Reference</h1><divclass="Animation-section"><h2id="Animation"class="undefined"><iclass="dr-trixie"> </i>Animation<ahref="#Animation"title="Link to this section"class="dr-hash">⚓</a></h2>
<divclass="extra"></div></div><divclass="Animation.delay-section"><h3id="Animation.delay"class="dr-method"><iclass="dr-trixie"> </i>Animation.delay(delay)<ahref="#Animation.delay"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3606 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3606">➭</a></h3>
<divclass="extra"></div></div><divclass="Animation.delay-section"><h3id="Animation.delay"class="dr-method"><iclass="dr-trixie"> </i>Animation.delay(delay)<ahref="#Animation.delay"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3602 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3602">➭</a></h3>
<divclass="dr-method"><p>Creates a copy of existing animation object with given delay.
<divclass="dr-method"><p>Creates a copy of existing animation object with given delay.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<ddclass="dr-description">number of ms to pass between animation start and actual animation</dd>
<ddclass="dr-description">number of ms to pass between animation start and actual animation</dd>
</div><divclass="extra"></div></div><divclass="Animation.repeat-section"><h3id="Animation.repeat"class="dr-method"><iclass="dr-trixie"> </i>Animation.repeat(repeat)<ahref="#Animation.repeat"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3624 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3624">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Animation.repeat-section"><h3id="Animation.repeat"class="dr-method"><iclass="dr-trixie"> </i>Animation.repeat(repeat)<ahref="#Animation.repeat"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3620 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3620">➭</a></h3>
<divclass="dr-method"><p>Creates a copy of existing animation object with given repetition.
<divclass="dr-method"><p>Creates a copy of existing animation object with given repetition.
</div><divclass="extra"></div></div><divclass="Element-section"><h2id="Element"class="undefined"><iclass="dr-trixie"> </i>Element<ahref="#Element"title="Link to this section"class="dr-hash">⚓</a></h2>
</div><divclass="extra"></div></div><divclass="Element-section"><h2id="Element"class="undefined"><iclass="dr-trixie"> </i>Element<ahref="#Element"title="Link to this section"class="dr-hash">⚓</a></h2>
<divclass="extra"></div></div><divclass="Element.animate-section"><h3id="Element.animate"class="dr-method"><iclass="dr-trixie"> </i>Element.animate(…)<ahref="#Element.animate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3888 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3888">➭</a></h3>
<divclass="extra"></div></div><divclass="Element.animate-section"><h3id="Element.animate"class="dr-method"><iclass="dr-trixie"> </i>Element.animate(…)<ahref="#Element.animate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3890 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3890">➭</a></h3>
<divclass="dr-method"><p>Creates and starts animation for given element.
<divclass="dr-method"><p>Creates and starts animation for given element.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -49,15 +49,23 @@
...
@@ -49,15 +49,23 @@
<ddclass="dr-description">animation object, see <ahref="#Raphael.animation"class="dr-link">Raphael.animation</a></dd>
<ddclass="dr-description">animation object, see <ahref="#Raphael.animation"class="dr-link">Raphael.animation</a></dd>
</div><divclass="extra"></div></div><divclass="Element.animateWith-section"><h3id="Element.animateWith"class="dr-method"><iclass="dr-trixie"> </i>Element.animateWith(…)<ahref="#Element.animateWith"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3511 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3511">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.animateWith-section"><h3id="Element.animateWith"class="dr-method"><iclass="dr-trixie"> </i>Element.animateWith(…)<ahref="#Element.animateWith"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3515 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3515">➭</a></h3>
<divclass="dr-method"><p>Acts similar to <ahref="#Element.animate"class="dr-link">Element.animate</a>, but ensure that given animation runs in sync with another given element.
<divclass="dr-method"><p>Acts similar to <ahref="#Element.animate"class="dr-link">Element.animate</a>, but ensure that given animation runs in sync with another given element.
</div><divclass="extra"></div></div><divclass="Element.pause-section"><h3id="Element.pause"class="dr-method"><iclass="dr-trixie"> </i>Element.pause([anim])<ahref="#Element.pause"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3978 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3978">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.pause-section"><h3id="Element.pause"class="dr-method"><iclass="dr-trixie"> </i>Element.pause([anim])<ahref="#Element.pause"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3983 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3983">➭</a></h3>
<divclass="dr-method"><p>Stops animation of the element with ability to resume it later on.
<divclass="dr-method"><p>Stops animation of the element with ability to resume it later on.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -506,7 +521,7 @@ If key is not provided, removes all the data of the element.
...
@@ -506,7 +521,7 @@ If key is not provided, removes all the data of the element.
</div><divclass="extra"></div></div><divclass="Element.resume-section"><h3id="Element.resume"class="dr-method"><iclass="dr-trixie"> </i>Element.resume([anim])<ahref="#Element.resume"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3998 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3998">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.resume-section"><h3id="Element.resume"class="dr-method"><iclass="dr-trixie"> </i>Element.resume([anim])<ahref="#Element.resume"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4003 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4003">➭</a></h3>
<divclass="dr-method"><p>Resumes animation if it was paused with <ahref="#Element.pause"class="dr-link">Element.pause</a> method.
<divclass="dr-method"><p>Resumes animation if it was paused with <ahref="#Element.pause"class="dr-link">Element.pause</a> method.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -562,7 +577,7 @@ transformations of the element.
...
@@ -562,7 +577,7 @@ transformations of the element.
<p>If cx <emclass="amp">&</em> cy aren’t specified centre of the shape is used instead.
<p>If cx <emclass="amp">&</em> cy aren’t specified centre of the shape is used instead.
</div><divclass="extra"></div></div><divclass="Element.setTime-section"><h3id="Element.setTime"class="dr-method"><iclass="dr-trixie"> </i>Element.setTime(anim, value)<ahref="#Element.setTime"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3914 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3914">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.setTime-section"><h3id="Element.setTime"class="dr-method"><iclass="dr-trixie"> </i>Element.setTime(anim, value)<ahref="#Element.setTime"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3916 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3916">➭</a></h3>
<divclass="dr-method"><p>Sets the status of animation of the element in milliseconds. Similar to <ahref="#Element.status"class="dr-link">Element.status</a> method.
<divclass="dr-method"><p>Sets the status of animation of the element in milliseconds. Similar to <ahref="#Element.status"class="dr-link">Element.status</a> method.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -583,7 +598,7 @@ transformations of the element.
...
@@ -583,7 +598,7 @@ transformations of the element.
<divclass="dr-method"><p>Makes element visible. See <ahref="#Element.hide"class="dr-link">Element.hide</a>.
<divclass="dr-method"><p>Makes element visible. See <ahref="#Element.hide"class="dr-link">Element.hide</a>.
</div><divclass="extra"></div></div><divclass="Element.status-section"><h3id="Element.status"class="dr-method"><iclass="dr-trixie"> </i>Element.status([anim], [value])<ahref="#Element.status"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3941 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3941">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.status-section"><h3id="Element.status"class="dr-method"><iclass="dr-trixie"> </i>Element.status([anim], [value])<ahref="#Element.status"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3943 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3943">➭</a></h3>
<divclass="dr-method"><p>Gets or sets the status of animation of the element.
<divclass="dr-method"><p>Gets or sets the status of animation of the element.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -607,7 +622,7 @@ transformations of the element.
...
@@ -607,7 +622,7 @@ transformations of the element.
<p>or
<p>or
</p>
</p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">original element if <code>value</code> is specified</span></p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">original element if <code>value</code> is specified</span></p>
</div><divclass="extra"></div></div><divclass="Element.stop-section"><h3id="Element.stop"class="dr-method"><iclass="dr-trixie"> </i>Element.stop([anim])<ahref="#Element.stop"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4020 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4020">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.stop-section"><h3id="Element.stop"class="dr-method"><iclass="dr-trixie"> </i>Element.stop([anim])<ahref="#Element.stop"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4025 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4025">➭</a></h3>
<divclass="dr-method"><p>Stops animation of the element.
<divclass="dr-method"><p>Stops animation of the element.
</div><divclass="extra"></div></div><divclass="Paper.getFont-section"><h3id="Paper.getFont"class="dr-method"><iclass="dr-trixie"> </i>Paper.getFont(family, [weight], [style], [stretch])<ahref="#Paper.getFont"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4257 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4257">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Paper.getFont-section"><h3id="Paper.getFont"class="dr-method"><iclass="dr-trixie"> </i>Paper.getFont(family, [weight], [style], [stretch])<ahref="#Paper.getFont"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4329 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4329">➭</a></h3>
<divclass="dr-method"><p>Finds font object in the registered fonts by given parameters. You could specify only one word from the font name, like “Myriad” for “Myriad Pro”.
<divclass="dr-method"><p>Finds font object in the registered fonts by given parameters. You could specify only one word from the font name, like “Myriad” for “Myriad Pro”.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -1160,7 +1175,7 @@ Details of a path's data attribute's format are described in the <a href="http:/
...
@@ -1160,7 +1175,7 @@ Details of a path's data attribute's format are described in the <a href="http:/
<spanclass="c">// draw a diagonal line:</span>
<spanclass="c">// draw a diagonal line:</span>
<spanclass="c">// move to <spanclass="d">10</span>,<spanclass="d">10</span>, line to <spanclass="d">90</span>,<spanclass="d">90</span></span>
<spanclass="c">// move to <spanclass="d">10</span>,<spanclass="d">10</span>, line to <spanclass="d">90</span>,<spanclass="d">90</span></span>
</code></pre>
</code></pre>
</div><divclass="extra"></div></div><divclass="Paper.print-section"><h3id="Paper.print"class="dr-method"><iclass="dr-trixie"> </i>Paper.print(x, y, text, font, [size], [origin], [letter_spacing])<ahref="#Paper.print"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4307 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4307">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Paper.print-section"><h3id="Paper.print"class="dr-method"><iclass="dr-trixie"> </i>Paper.print(x, y, text, font, [size], [origin], [letter_spacing])<ahref="#Paper.print"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4379 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4379">➭</a></h3>
<divclass="dr-method"><p>Creates set of shapes to represent given font at given position with given size.
<divclass="dr-method"><p>Creates set of shapes to represent given font at given position with given size.
Result of the method is set object (see <ahref="#Paper.set"class="dr-link">Paper.set</a>) which contains each letter as separate path object.
Result of the method is set object (see <ahref="#Paper.set"class="dr-link">Paper.set</a>) which contains each letter as separate path object.
</p>
</p>
...
@@ -1452,7 +1467,7 @@ from this instance will be bound to this canvas.
...
@@ -1452,7 +1467,7 @@ from this instance will be bound to this canvas.
<ddclass="dr-description">y coord of third point</dd>
<ddclass="dr-description">y coord of third point</dd>
</dl>
</dl>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-number">number</em><spanclass="dr-description">angle in degrees.</span></p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-number">number</em><spanclass="dr-description">angle in degrees.</span></p>
</div><divclass="extra"></div></div><divclass="Raphael.animation-section"><h3id="Raphael.animation"class="dr-method"><iclass="dr-trixie"> </i>Raphael.animation(params, ms, [easing], [callback])<ahref="#Raphael.animation"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3849 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3849">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Raphael.animation-section"><h3id="Raphael.animation"class="dr-method"><iclass="dr-trixie"> </i>Raphael.animation(params, ms, [easing], [callback])<ahref="#Raphael.animation"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 3848 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3848">➭</a></h3>
<divclass="dr-method"><p>Creates an animation object that can be passed to the <ahref="#Element.animate"class="dr-link">Element.animate</a> or <ahref="#Element.animateWith"class="dr-link">Element.animateWith</a> methods.
<divclass="dr-method"><p>Creates an animation object that can be passed to the <ahref="#Element.animate"class="dr-link">Element.animate</a> or <ahref="#Element.animateWith"class="dr-link">Element.animateWith</a> methods.
See also <ahref="#Animation.delay"class="dr-link">Animation.delay</a> and <ahref="#Animation.repeat"class="dr-link">Animation.repeat</a> methods.
See also <ahref="#Animation.delay"class="dr-link">Animation.delay</a> and <ahref="#Animation.repeat"class="dr-link">Animation.repeat</a> methods.
</div><divclass="extra"></div></div><divclass="Raphael.format-section"><h3id="Raphael.format"class="dr-method"><iclass="dr-trixie"> </i>Raphael.format(token, …)<ahref="#Raphael.format"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4355 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4355">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Raphael.format-section"><h3id="Raphael.format"class="dr-method"><iclass="dr-trixie"> </i>Raphael.format(token, …)<ahref="#Raphael.format"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4427 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4427">➭</a></h3>
<divclass="dr-method"><p>Simple format function. Replaces construction of type “<code>{<number>}</code>” to the corresponding argument.
<divclass="dr-method"><p>Simple format function. Replaces construction of type “<code>{<number>}</code>” to the corresponding argument.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -1624,7 +1639,7 @@ paper.mystuff.star();
...
@@ -1624,7 +1639,7 @@ paper.mystuff.star();
<spanclass="c">// <b>this</b> will draw a rectangular shape equivalent to <i>"M10,20h40v50h-40z"</i></span>
<spanclass="c">// <b>this</b> will draw a rectangular shape equivalent to <i>"M10,20h40v50h-40z"</i></span>
paper.path(Raphael.format(<i>"M{<spanclass="d">1</span>},{<spanclass="d">2</span>}h{<spanclass="d">3</span>}v{<spanclass="d">4</span>}h{<spanclass="d">5</span>}z"</i>, x, y, width, height, -width));
paper.path(Raphael.format(<i>"M{<spanclass="d">1</span>},{<spanclass="d">2</span>}h{<spanclass="d">3</span>}v{<spanclass="d">4</span>}h{<spanclass="d">5</span>}z"</i>, x, y, width, height, -width));
</code></pre>
</code></pre>
</div><divclass="extra"></div></div><divclass="Raphael.fullfill-section"><h3id="Raphael.fullfill"class="dr-method"><iclass="dr-trixie"> </i>Raphael.fullfill(token, json)<ahref="#Raphael.fullfill"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4385 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4385">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Raphael.fullfill-section"><h3id="Raphael.fullfill"class="dr-method"><iclass="dr-trixie"> </i>Raphael.fullfill(token, json)<ahref="#Raphael.fullfill"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4457 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4457">➭</a></h3>
<divclass="dr-method"><p>A little bit more advanced format function than <ahref="#Raphael.format"class="dr-link">Raphael.format</a>. Replaces construction of type “<code>{<name>}</code>” to the corresponding argument.
<divclass="dr-method"><p>A little bit more advanced format function than <ahref="#Raphael.format"class="dr-link">Raphael.format</a>. Replaces construction of type “<code>{<name>}</code>” to the corresponding argument.
</p>
</p>
<pclass="header">Parameters
<pclass="header">Parameters
...
@@ -1847,7 +1862,7 @@ Returns matrix based on given parameters.
...
@@ -1847,7 +1862,7 @@ Returns matrix based on given parameters.
</div><divclass="extra"></div></div><divclass="Raphael.ninja-section"><h3id="Raphael.ninja"class="dr-method"><iclass="dr-trixie"> </i>Raphael.ninja()<ahref="#Raphael.ninja"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4422 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4422">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Raphael.ninja-section"><h3id="Raphael.ninja"class="dr-method"><iclass="dr-trixie"> </i>Raphael.ninja()<ahref="#Raphael.ninja"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4494 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4494">➭</a></h3>
<divclass="dr-method"><p>If you want to leave no trace of Raphaël (Well, Raphaël creates only one global variable <code>Raphael</code>, but anyway.) You can use <code>ninja</code> method.
<divclass="dr-method"><p>If you want to leave no trace of Raphaël (Well, Raphaël creates only one global variable <code>Raphael</code>, but anyway.) You can use <code>ninja</code> method.
Beware, that in this case plugins could stop working, because they are depending on global variable existance.
Beware, that in this case plugins could stop working, because they are depending on global variable existance.
</p>
</p>
...
@@ -1913,7 +1928,7 @@ Converts path to relative form
...
@@ -1913,7 +1928,7 @@ Converts path to relative form
<ddclass="dr-description">angle in degrees</dd>
<ddclass="dr-description">angle in degrees</dd>
</dl>
</dl>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-number">number</em><spanclass="dr-description">angle in radians.</span></p>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-number">number</em><spanclass="dr-description">angle in radians.</span></p>
</div><divclass="extra"></div></div><divclass="Raphael.registerFont-section"><h3id="Raphael.registerFont"class="dr-method"><iclass="dr-trixie"> </i>Raphael.registerFont(font)<ahref="#Raphael.registerFont"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4202 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4202">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Raphael.registerFont-section"><h3id="Raphael.registerFont"class="dr-method"><iclass="dr-trixie"> </i>Raphael.registerFont(font)<ahref="#Raphael.registerFont"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4274 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4274">➭</a></h3>
<divclass="dr-method"><p>Adds given font to the registered set of fonts for Raphaël. Should be used as an internal call from within Cufón’s font file.
<divclass="dr-method"><p>Adds given font to the registered set of fonts for Raphaël. Should be used as an internal call from within Cufón’s font file.
Returns original parameter, so it could be used with chaining.
Returns original parameter, so it could be used with chaining.
</p>
</p>
...
@@ -2011,7 +2026,7 @@ Returns original parameter, so it could be used with chaining.
...
@@ -2011,7 +2026,7 @@ Returns original parameter, so it could be used with chaining.
<ddclass="dr-description">tolerance for snapping. Default is <code>10</code>.</dd>
<ddclass="dr-description">tolerance for snapping. Default is <code>10</code>.</dd>
</div><divclass="extra"></div></div><divclass="Raphael.st-section"><h3id="Raphael.st"class="dr-property"><iclass="dr-trixie"> </i>Raphael.st<ahref="#Raphael.st"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4446 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4446">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Raphael.st-section"><h3id="Raphael.st"class="dr-property"><iclass="dr-trixie"> </i>Raphael.st<ahref="#Raphael.st"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4518 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4518">➭</a></h3>
<divclass="dr-property"><emclass="dr-type dr-type-object">object</em><p>You can add your own method to elements and sets. It is wise to add a set method for each element method
<divclass="dr-property"><emclass="dr-type dr-type-object">object</em><p>You can add your own method to elements and sets. It is wise to add a set method for each element method
you added, so you will be able to call the same method on sets too.
you added, so you will be able to call the same method on sets too.
See also <ahref="#Raphael.el"class="dr-link">Raphael.el</a>.
See also <ahref="#Raphael.el"class="dr-link">Raphael.el</a>.
<divclass="dr-property"><emclass="dr-type dr-type-boolean">boolean</em><p><code>true</code> if browser supports VML.
<divclass="dr-property"><emclass="dr-type dr-type-boolean">boolean</em><p><code>true</code> if browser supports VML.
</p>
</p>
</div><divclass="extra"></div></div><divclass="Set-section"><h2id="Set"class="undefined"><iclass="dr-trixie"> </i>Set<ahref="#Set"title="Link to this section"class="dr-hash">⚓</a></h2>
</div><divclass="extra"></div></div><divclass="Set-section"><h2id="Set"class="undefined"><iclass="dr-trixie"> </i>Set<ahref="#Set"title="Link to this section"class="dr-hash">⚓</a></h2>
<divclass="extra"></div></div><divclass="Set.forEach-section"><h3id="Set.forEach"class="dr-method"><iclass="dr-trixie"> </i>Set.forEach(callback, thisArg)<ahref="#Set.forEach"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4092 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4092">➭</a></h3>
<divclass="extra"></div></div><divclass="Set.clear-section"><h3id="Set.clear"class="dr-method"><iclass="dr-trixie"> </i>Set.clear()<ahref="#Set.clear"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4133 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4133">➭</a></h3>
<divclass="dr-method"><p>Removeds all elements from the set
</p>
</div><divclass="extra"></div></div><divclass="Set.exclude-section"><h3id="Set.exclude"class="dr-method"><iclass="dr-trixie"> </i>Set.exclude(element)<ahref="#Set.exclude"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4188 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4188">➭</a></h3>
<divclass="dr-method"><p>Removes given element from the set
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-boolean">boolean</em><spanclass="dr-description"><code>true</code> if object was found <emclass="amp">&</em> removed from the set</span></p>
</div><divclass="extra"></div></div><divclass="Set.forEach-section"><h3id="Set.forEach"class="dr-method"><iclass="dr-trixie"> </i>Set.forEach(callback, thisArg)<ahref="#Set.forEach"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4097 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4097">➭</a></h3>
<divclass="dr-method"><p>Executes given function for each element in the set.
<divclass="dr-method"><p>Executes given function for each element in the set.
</p>
</p>
<p>If function returns <code>false</code> it will stop loop running.
<p>If function returns <code>false</code> it will stop loop running.
</div><divclass="extra"></div></div><divclass="Set.pop-section"><h3id="Set.pop"class="dr-method"><iclass="dr-trixie"> </i>Set.pop()<ahref="#Set.pop"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4074 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4074">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Set.pop-section"><h3id="Set.pop"class="dr-method"><iclass="dr-trixie"> </i>Set.pop()<ahref="#Set.pop"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4079 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4079">➭</a></h3>
<divclass="dr-method"><p>Removes last element and returns it.
<divclass="dr-method"><p>Removes last element and returns it.
</div><divclass="extra"></div></div><divclass="Set.push-section"><h3id="Set.push"class="dr-method"><iclass="dr-trixie"> </i>Set.push()<ahref="#Set.push"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4054 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4054">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Set.push-section"><h3id="Set.push"class="dr-method"><iclass="dr-trixie"> </i>Set.push()<ahref="#Set.push"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4059 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4059">➭</a></h3>
<divclass="dr-method"><p>Adds each argument to the current set.
<divclass="dr-method"><p>Adds each argument to the current set.
</div><divclass="extra"></div></div><divclass="Set.splice-section"><h3id="Set.splice"class="dr-method"><iclass="dr-trixie"> </i>Set.splice(index, count, [insertion…])<ahref="#Set.splice"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 4151 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4151">➭</a></h3>
<divclass="dr-method"><p>Removes given element from the set
<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><divclass="extra"></div></div><divclass="eve-section"><h2id="eve"class="dr-method"><iclass="dr-trixie"> </i>eve(name, scope, varargs)<ahref="#eve"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 34 in the source"href="https://github.com/DmitryBaranovskiy/eve/blob/master/eve.js#L34">➭</a></h2>
</div><divclass="extra"></div></div><divclass="eve-section"><h2id="eve"class="dr-method"><iclass="dr-trixie"> </i>eve(name, scope, varargs)<ahref="#eve"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 34 in the source"href="https://github.com/DmitryBaranovskiy/eve/blob/master/eve.js#L34">➭</a></h2>
<divclass="dr-method"><p>Fires event with given <code>name</code>, given scope and other parameters.
<divclass="dr-method"><p>Fires event with given <code>name</code>, given scope and other parameters.