<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.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.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.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.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>
<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 3608 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L3608">➭</a></h3>
<divclass="dr-method"><p>Creates a copy of existing animation object with given delay.
</p>
...
...
@@ -76,7 +76,7 @@
<ddclass="dr-description">animation object, see <ahref="#Raphael.animation"class="dr-link">Raphael.animation</a></dd>
</div><divclass="extra"></div></div><divclass="Element.attr-section"><h3id="Element.attr"class="dr-method"><iclass="dr-trixie"> </i>Element.attr(…)<ahref="#Element.attr"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 973 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L973">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.attr-section"><h3id="Element.attr"class="dr-method"><iclass="dr-trixie"> </i>Element.attr(…)<ahref="#Element.attr"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 980 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L980">➭</a></h3>
<divclass="dr-method"><p>Sets the attributes of the element.
</p>
<pclass="header">Parameters
...
...
@@ -174,7 +174,7 @@ at 0.25, 0.75. Focus point coordinates are in 0..1 range. Radial gradients can o
<li>hsba(•••, •••, •••, •••) — same as above, but with opacity</li>
<li>hsl(•••, •••, •••) — almost the same as hsb, see <ahref="http://en.wikipedia.org/wiki/HSL_and_HSV"title="HSL and HSV - Wikipedia, the free encyclopedia">Wikipedia page</a></li>
<li>hsl(•••%, •••%, •••%) — same as above, but in %</li>
<li>hsla(•••, •••, •••) — same as above, but with opacity</li>
<li>hsla(•••, •••, •••, •••) — same as above, but with opacity</li>
<li>Optionally for hsb and hsl you could specify hue as a degree: “<code>hsl(240deg, 1, .5)</code>” or, if you want to go fancy, “<code>hsl(240°, 1, .5)</code>”</li>
</ul>
</div><divclass="extra"></div></div><divclass="Element.click-section"><h3id="Element.click"class="dr-method"><iclass="dr-trixie"> </i>Element.click(handler)<ahref="#Element.click"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2264 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L2264">➭</a></h3>
...
...
@@ -344,7 +344,7 @@ See also <a href="#Element.removeData" class="dr-link">Element.removeData</a>
<li><spanclass="dr-json-key">color</span><spanclass="dr-type"><emclass="dr-type-string">string</em></span><spanclass="dr-json-description">glow colour, default is <code>black</code></span>
</ol></li><li>}</li></ol>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description"><ahref="#Paper.set"class="dr-link">Paper.set</a> of elements that represents glow</span></p>
</div><divclass="extra"></div></div><divclass="Element.hide-section"><h3id="Element.hide"class="dr-method"><iclass="dr-trixie"> </i>Element.hide()<ahref="#Element.hide"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 843 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L843">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.hide-section"><h3id="Element.hide"class="dr-method"><iclass="dr-trixie"> </i>Element.hide()<ahref="#Element.hide"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 850 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L850">➭</a></h3>
<divclass="dr-method"><p>Makes element invisible. See <ahref="#Element.show"class="dr-link">Element.show</a>.
</div><divclass="extra"></div></div><divclass="Element.id-section"><h3id="Element.id"class="dr-property"><iclass="dr-trixie"> </i>Element.id<ahref="#Element.id"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 635 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L635">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.id-section"><h3id="Element.id"class="dr-property"><iclass="dr-trixie"> </i>Element.id<ahref="#Element.id"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 638 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L638">➭</a></h3>
<divclass="dr-property"><emclass="dr-type dr-type-number">number</em><p>Unique id of the element. Especially usesful when you want to listen to events of the element,
because all events are fired in format <code><module>.<action>.<id></code>. Also useful for <ahref="#Paper.getById"class="dr-link">Paper.getById</a> method.
</p>
</div><divclass="extra"></div></div><divclass="Element.insertAfter-section"><h3id="Element.insertAfter"class="dr-method"><iclass="dr-trixie"> </i>Element.insertAfter()<ahref="#Element.insertAfter"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1071 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1071">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.insertAfter-section"><h3id="Element.insertAfter"class="dr-method"><iclass="dr-trixie"> </i>Element.insertAfter()<ahref="#Element.insertAfter"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1078 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1078">➭</a></h3>
<divclass="dr-method"><p>Inserts current object after the given one.
</div><divclass="extra"></div></div><divclass="Element.insertBefore-section"><h3id="Element.insertBefore"class="dr-method"><iclass="dr-trixie"> </i>Element.insertBefore()<ahref="#Element.insertBefore"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1091 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1091">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.insertBefore-section"><h3id="Element.insertBefore"class="dr-method"><iclass="dr-trixie"> </i>Element.insertBefore()<ahref="#Element.insertBefore"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1098 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1098">➭</a></h3>
<divclass="dr-method"><p>Inserts current object before the given one.
</div><divclass="extra"></div></div><divclass="Element.next-section"><h3id="Element.next"class="dr-property"><iclass="dr-trixie"> </i>Element.next<ahref="#Element.next"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 678 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L678">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.next-section"><h3id="Element.next"class="dr-property"><iclass="dr-trixie"> </i>Element.next<ahref="#Element.next"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 681 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L681">➭</a></h3>
<divclass="dr-property"><emclass="dr-type dr-type-object">object</em><p>Reference to the next element in the hierarchy.
</p>
</div><divclass="extra"></div></div><divclass="Element.node-section"><h3id="Element.node"class="dr-property"><iclass="dr-trixie"> </i>Element.node<ahref="#Element.node"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 614 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L614">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.node-section"><h3id="Element.node"class="dr-property"><iclass="dr-trixie"> </i>Element.node<ahref="#Element.node"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 617 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L617">➭</a></h3>
<divclass="dr-property"><emclass="dr-type dr-type-object">object</em><p>Gives you a reference to the DOM object, so you can assign event handlers or just mess around.
</div><divclass="extra"></div></div><divclass="Element.paper-section"><h3id="Element.paper"class="dr-property"><iclass="dr-trixie"> </i>Element.paper<ahref="#Element.paper"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 651 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L651">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.paper-section"><h3id="Element.paper"class="dr-property"><iclass="dr-trixie"> </i>Element.paper<ahref="#Element.paper"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 654 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L654">➭</a></h3>
<divclass="dr-property"><emclass="dr-type dr-type-object">object</em><p>Internal reference to “paper” where object drawn. Mainly for use in plugins and element extensions.
</div><divclass="extra"></div></div><divclass="Element.prev-section"><h3id="Element.prev"class="dr-property"><iclass="dr-trixie"> </i>Element.prev<ahref="#Element.prev"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 669 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L669">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.prev-section"><h3id="Element.prev"class="dr-property"><iclass="dr-trixie"> </i>Element.prev<ahref="#Element.prev"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 672 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L672">➭</a></h3>
<divclass="dr-property"><emclass="dr-type dr-type-object">object</em><p>Reference to the previous element in the hierarchy.
</p>
</div><divclass="extra"></div></div><divclass="Element.raphael-section"><h3id="Element.raphael"class="dr-property"><iclass="dr-trixie"> </i>Element.raphael<ahref="#Element.raphael"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 627 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L627">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.raphael-section"><h3id="Element.raphael"class="dr-property"><iclass="dr-trixie"> </i>Element.raphael<ahref="#Element.raphael"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 630 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L630">➭</a></h3>
<divclass="dr-property"><emclass="dr-type dr-type-object">object</em><p>Internal reference to <ahref="#Raphael"class="dr-link">Raphael</a> object. In case it is not available.
</div><divclass="extra"></div></div><divclass="Element.remove-section"><h3id="Element.remove"class="dr-method"><iclass="dr-trixie"> </i>Element.remove()<ahref="#Element.remove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 864 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L864">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.remove-section"><h3id="Element.remove"class="dr-method"><iclass="dr-trixie"> </i>Element.remove()<ahref="#Element.remove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 871 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L871">➭</a></h3>
<divclass="dr-method"><p>Removes element form the paper.
</p>
</div><divclass="extra"></div></div><divclass="Element.removeData-section"><h3id="Element.removeData"class="dr-method"><iclass="dr-trixie"> </i>Element.removeData([key])<ahref="#Element.removeData"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2535 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L2535">➭</a></h3>
...
...
@@ -517,7 +517,7 @@ If key is not provided, removes all the data of the element.
</div><divclass="extra"></div></div><divclass="Element.rotate-section"><h3id="Element.rotate"class="dr-method"><iclass="dr-trixie"> </i>Element.rotate(deg, [cx], [cy])<ahref="#Element.rotate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 706 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L706">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.rotate-section"><h3id="Element.rotate"class="dr-method"><iclass="dr-trixie"> </i>Element.rotate(deg, [cx], [cy])<ahref="#Element.rotate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 713 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L713">➭</a></h3>
<divclass="dr-method"><p>Adds rotation by given angle around given point to the list of
transformations of the element.
</p>
...
...
@@ -538,7 +538,7 @@ transformations of the element.
<p>If cx <emclass="amp">&</em> cy aren’t specified centre of the shape is used as a point of rotation.
</div><divclass="extra"></div></div><divclass="Element.scale-section"><h3id="Element.scale"class="dr-method"><iclass="dr-trixie"> </i>Element.scale(sx, sy, [cx], [cy])<ahref="#Element.scale"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 739 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L739">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.scale-section"><h3id="Element.scale"class="dr-method"><iclass="dr-trixie"> </i>Element.scale(sx, sy, [cx], [cy])<ahref="#Element.scale"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 746 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L746">➭</a></h3>
<divclass="dr-method"><p>Adds scale by given amount relative to given point to the list of
transformations of the element.
</p>
...
...
@@ -579,7 +579,7 @@ transformations of the element.
</p>
<p>On each animation frame event <code>anim.frame.<id></code>, on start <code>anim.start.<id></code> and on end <code>anim.finish.<id></code>.
</p>
</div><divclass="extra"></div></div><divclass="Element.show-section"><h3id="Element.show"class="dr-method"><iclass="dr-trixie"> </i>Element.show()<ahref="#Element.show"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 854 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L854">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.show-section"><h3id="Element.show"class="dr-method"><iclass="dr-trixie"> </i>Element.show()<ahref="#Element.show"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 861 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L861">➭</a></h3>
<divclass="dr-method"><p>Makes element visible. See <ahref="#Element.hide"class="dr-link">Element.hide</a>.
</div><divclass="extra"></div></div><divclass="Element.toBack-section"><h3id="Element.toBack"class="dr-method"><iclass="dr-trixie"> </i>Element.toBack()<ahref="#Element.toBack"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1053 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1053">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.toBack-section"><h3id="Element.toBack"class="dr-method"><iclass="dr-trixie"> </i>Element.toBack()<ahref="#Element.toBack"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1060 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1060">➭</a></h3>
<divclass="dr-method"><p>Moves the element so it is the furthest from the viewer’s eyes, behind other elements.
</div><divclass="extra"></div></div><divclass="Element.toFront-section"><h3id="Element.toFront"class="dr-method"><iclass="dr-trixie"> </i>Element.toFront()<ahref="#Element.toFront"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1037 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1037">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.toFront-section"><h3id="Element.toFront"class="dr-method"><iclass="dr-trixie"> </i>Element.toFront()<ahref="#Element.toFront"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1044 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1044">➭</a></h3>
<divclass="dr-method"><p>Moves the element so it is the closest to the viewer’s eyes, on top of other elements.
</div><divclass="extra"></div></div><divclass="Element.transform-section"><h3id="Element.transform"class="dr-method"><iclass="dr-trixie"> </i>Element.transform([tstr])<ahref="#Element.transform"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 818 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L818">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.transform-section"><h3id="Element.transform"class="dr-method"><iclass="dr-trixie"> </i>Element.transform([tstr])<ahref="#Element.transform"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 825 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L825">➭</a></h3>
<divclass="dr-method"><p>Adds transformation to the element which is separate to other attributes,
i.e. translation doesn’t change <code>x</code> or <code>y</code> of the rectange. The format
of transformation string is similar to the path string syntax:
</div><divclass="extra"></div></div><divclass="Element.translate-section"><h3id="Element.translate"class="dr-method"><iclass="dr-trixie"> </i>Element.translate(dx, dy)<ahref="#Element.translate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 770 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L770">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Element.translate-section"><h3id="Element.translate"class="dr-method"><iclass="dr-trixie"> </i>Element.translate(dx, dy)<ahref="#Element.translate"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 777 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L777">➭</a></h3>
<divclass="dr-method"><p>Adds translation by given amount to the list of transformations of the element.
</div><divclass="extra"></div></div><divclass="Paper.clear-section"><h3id="Paper.clear"class="dr-method"><iclass="dr-trixie"> </i>Paper.clear()<ahref="#Paper.clear"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1297 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1297">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Paper.clear-section"><h3id="Paper.clear"class="dr-method"><iclass="dr-trixie"> </i>Paper.clear()<ahref="#Paper.clear"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1304 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1304">➭</a></h3>
<divclass="dr-method"><p>Clears the paper, i.e. removes all the elements.
</p>
</div><divclass="extra"></div></div><divclass="Paper.customAttributes-section"><h3id="Paper.customAttributes"class="dr-property"><iclass="dr-trixie"> </i>Paper.customAttributes<ahref="#Paper.customAttributes"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 362 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L362">➭</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 4259 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4259">➭</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”.
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">the font object</span></p>
</div><divclass="extra"></div></div><divclass="Paper.image-section"><h3id="Paper.image"class="dr-method"><iclass="dr-trixie"> </i>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 2756 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L2756">➭</a></h3>
<divclass="dr-method"><p>Embeds an image into the surface.
</p>
...
...
@@ -1134,6 +1160,44 @@ 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">// move to <spanclass="d">10</span>,<spanclass="d">10</span>, line to <spanclass="d">90</span>,<spanclass="d">90</span></span>
</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 4309 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4309">➭</a></h3>
<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.
<ddclass="dr-description">number in range <code>-1..1</code>, default is <code>0</code></dd>
</dl>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">resulting set of letters</span></p>
</div><divclass="extra"></div></div><divclass="Paper.raphael-section"><h3id="Paper.raphael"class="dr-property"><iclass="dr-trixie"> </i>Paper.raphael<ahref="#Paper.raphael"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 2893 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L2893">➭</a></h3>
<divclass="dr-property"><p>Points to the <ahref="#Raphael"class="dr-link">Raphael</a> object/function
</p>
...
...
@@ -1168,10 +1232,10 @@ Details of a path's data attribute's format are described in the <a href="http:/
</div><divclass="extra"></div></div><divclass="Paper.remove-section"><h3id="Paper.remove"class="dr-method"><iclass="dr-trixie"> </i>Paper.remove()<ahref="#Paper.remove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1314 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1314">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Paper.remove-section"><h3id="Paper.remove"class="dr-method"><iclass="dr-trixie"> </i>Paper.remove()<ahref="#Paper.remove"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1321 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1321">➭</a></h3>
<divclass="dr-method"><p>Removes the paper from the DOM.
</p>
</div><divclass="extra"></div></div><divclass="Paper.renderfix-section"><h3id="Paper.renderfix"class="dr-method"><iclass="dr-trixie"> </i>Paper.renderfix()<ahref="#Paper.renderfix"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1274 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1274">➭</a></h3>
</div><divclass="extra"></div></div><divclass="Paper.renderfix-section"><h3id="Paper.renderfix"class="dr-method"><iclass="dr-trixie"> </i>Paper.renderfix()<ahref="#Paper.renderfix"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 1281 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.svg.js#L1281">➭</a></h3>
<divclass="dr-method"><p>Fixes the issue of Firefox and IE9 regarding subpixel rendering. If paper is dependant
on other elements after reflow it could shift half pixel which cause for lines to lost their crispness.
</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 4304 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4304">➭</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 4357 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4357">➭</a></h3>
<divclass="dr-method"><p>Simple format function. Replaces construction of type “<code>{<number>}</code>” to the corresponding argument.
</p>
<pclass="header">Parameters
...
...
@@ -1560,7 +1624,7 @@ paper.mystuff.star();
<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));
</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 4334 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4334">➭</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 4387 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4387">➭</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.
</p>
<pclass="header">Parameters
...
...
@@ -1783,7 +1847,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 4371 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4371">➭</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 4424 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4424">➭</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.
Beware, that in this case plugins could stop working, because they are depending on global variable existance.
</p>
...
...
@@ -1849,6 +1913,22 @@ Converts path to relative form
<ddclass="dr-description">angle in degrees</dd>
</dl>
<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 4204 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4204">➭</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.
Returns original parameter, so it could be used with chaining.
</p>
<ahref="http://wiki.github.com/sorccu/cufon/about">More about Cufón and how to convert your font form TTF, OTF, etc to JavaScript file.</a>
<ddclass="dr-description">the font to register</dd>
</dl>
<pclass="dr-returns"><strongclass="dr-title">Returns:</strong><emclass="dr-type-object">object</em><spanclass="dr-description">the font you passed in</span></p>
</div><divclass="extra"></div></div><divclass="Raphael.rgb-section"><h3id="Raphael.rgb"class="dr-method"><iclass="dr-trixie"> </i>Raphael.rgb(r, g, b)<ahref="#Raphael.rgb"title="Link to this section"class="dr-hash">⚓</a><aclass="dr-sourceline"title="Go to line 961 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L961">➭</a></h3>
<divclass="dr-method"><p>Converts RGB values to hex representation of the colour.
</p>
...
...
@@ -1931,7 +2011,7 @@ Converts path to relative form
<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 4395 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4395">➭</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 4448 in the source"href="https://github.com/DmitryBaranovskiy/raphael/blob/2.0/raphael.core.js#L4448">➭</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
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>.