<divid=Index><divclass=IPageTitle>Index</div><divclass=INavigationBar>$#! · 0-9 · A · B ·<ahref="#C">C</a>·<ahref="#D">D</a>· E ·<ahref="#F">F</a>·<ahref="#G">G</a>· H · I · J · K · L ·<ahref="#M">M</a>· N · O · P · Q ·<ahref="#R">R</a>·<ahref="#S">S</a>· T · U · V · W · X · Y · Z</div><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=IHeadingid=IFirstHeading><aname="C"></a>C</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>createLayer</span><divclass=ISubIndex><ahref="../files/svgcanvas-mine-js.html#createLayer"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')"class=IFile>svgcanvas-mine.js</a><ahref="../files/svgcanvas-js.html#createLayer"id=link2onMouseOver="ShowTip(event, 'tt1', 'link2')"onMouseOut="HideTip('tt1')"class=IFile>svgcanvas.js</a></div></td></tr><tr><tdclass=IHeading><aname="D"></a>D</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>deleteCurrentLayer</span><divclass=ISubIndex><ahref="../files/svgcanvas-mine-js.html#deleteCurrentLayer"id=link3onMouseOver="ShowTip(event, 'tt2', 'link3')"onMouseOut="HideTip('tt2')"class=IFile>svgcanvas-mine.js</a><ahref="../files/svgcanvas-js.html#deleteCurrentLayer"id=link4onMouseOver="ShowTip(event, 'tt2', 'link4')"onMouseOut="HideTip('tt2')"class=IFile>svgcanvas.js</a></div></td></tr><tr><tdclass=IHeading><aname="F"></a>F</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IOnlySymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>Functions</span><divclass=ISubIndex><ahref="../files/svgcanvas-mine-js.html#Functions"class=IFile>svgcanvas-mine.js</a><ahref="../files/svgcanvas-js.html#Functions"class=IFile>svgcanvas.js</a></div></td></tr><tr><tdclass=IHeading><aname="G"></a>G</td><td></td></tr><tr><tdclass=ISymbolPrefixid=IFirstSymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>getCurrentLayer</span><divclass=ISubIndex><ahref="../files/svgcanvas-mine-js.html#getCurrentLayer"id=link5onMouseOver="ShowTip(event, 'tt3', 'link5')"onMouseOut="HideTip('tt3')"class=IFile>svgcanvas-mine.js</a><ahref="../files/svgcanvas-js.html#getCurrentLayer"id=link6onMouseOver="ShowTip(event, 'tt3', 'link6')"onMouseOut="HideTip('tt3')"class=IFile>svgcanvas.js</a></div></td></tr><tr><tdclass=ISymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>getLayer</span><divclass=ISubIndex><ahref="../files/svgcanvas-mine-js.html#getLayer"id=link7onMouseOver="ShowTip(event, 'tt4', 'link7')"onMouseOut="HideTip('tt4')"class=IFile>svgcanvas-mine.js</a><ahref="../files/svgcanvas-js.html#getLayer"id=link8onMouseOver="ShowTip(event, 'tt4', 'link8')"onMouseOut="HideTip('tt4')"class=IFile>svgcanvas.js</a></div></td></tr><tr><tdclass=ISymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>getLayerVisibility</span><divclass=ISubIndex><ahref="../files/svgcanvas-mine-js.html#getLayerVisibility"id=link9onMouseOver="ShowTip(event, 'tt5', 'link9')"onMouseOut="HideTip('tt5')"class=IFile>svgcanvas-mine.js</a><ahref="../files/svgcanvas-js.html#getLayerVisibility"id=link10onMouseOver="ShowTip(event, 'tt5', 'link10')"onMouseOut="HideTip('tt5')"class=IFile>svgcanvas.js</a></div></td></tr><tr><tdclass=ISymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>getNumLayers</span><divclass=ISubIndex><ahref="../files/svgcanvas-mine-js.html#getNumLayers"id=link11onMouseOver="ShowTip(event, 'tt6', 'link11')"onMouseOut="HideTip('tt6')"class=IFile>svgcanvas-mine.js</a><ahref="../files/svgcanvas-js.html#getNumLayers"id=link12onMouseOver="ShowTip(event, 'tt6', 'link12')"onMouseOut="HideTip('tt6')"class=IFile>svgcanvas.js</a></div></td></tr><tr><tdclass=ISymbolPrefixid=ILastSymbolPrefix> </td><tdclass=IEntry><spanclass=ISymbol>getSvgString</spa
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.createLayer = function(</td><tdclass=PParameternowrap>name</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function clears the selection and then creates a new top-level layer in the drawing with the given name and sets the current layer to it. </div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>this.deleteCurrentLayer = function()</td></tr></table></blockquote>This function clears the selection and then deletes the current layer from the drawing. </div></div><!--END_ND_TOOLTIPS-->
<divclass=CToolTipid="tt3"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>this.getCurrentLayer = function()</td></tr></table></blockquote>This function returns the name of the currently selected layer. </div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.getLayer = function(</td><tdclass=PParameternowrap>i</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function returns the name of the ith layer. </div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.getLayerVisibility = function(</td><tdclass=PParameternowrap>layername</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function returns whether the layer is visible. </div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>this.getNumLayers = function()</td></tr></table></blockquote>This function returns the number of layers in the current drawing.</div></div><divclass=CToolTipid="tt7"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>this.getSvgString = function()</td></tr></table></blockquote>Returns the current drawing as raw SVG XML text.</div></div><!--END_ND_TOOLTIPS-->
<divclass=CToolTipid="tt8"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.moveSelectedToLayer = function(</td><tdclass=PParameternowrap>layername</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function moves the selected elements to layername. </div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt9"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.renameCurrentLayer = function(</td><tdclass=PParameternowrap>newname</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function renames the current layer. </div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
<divclass=CToolTipid="tt10"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>this.save = function()</td></tr></table></blockquote>Serializes the current drawing into SVG XML text and returns it to the ‘saved’ handler. </div></div><divclass=CToolTipid="tt11"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.setCurrentLayer = function(</td><tdclass=PParameternowrap>name</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function sets the current layer. </div></div><divclass=CToolTipid="tt12"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.setCurrentLayerPosition = function(</td><tdclass=PParameternowrap>newpos</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function changes the position of the current layer to the new value. </div></div><divclass=CToolTipid="tt13"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.setLayerVisibility = function(</td><tdclass=PParameternowrap>layername,</td></tr><tr><td></td><tdclass=PParameternowrap>bVisible</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function sets the visibility of the layer. </div></div><divclass=CToolTipid="tt14"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>this.setSvgString = function(</td><tdclass=PParameternowrap>xmlString</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>This function sets the current drawing as the input SVG XML.</div></div><!--END_ND_TOOLTIPS-->