<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxStencilRegistry"></a>mxStencilRegistry</h1><divclass=CBody><p>A singleton class that provides a registry for stencils and the methods for painting those stencils onto a canvas or into a DOM.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxStencilRegistry">mxStencilRegistry</a></td><tdclass=SDescription>A singleton class that provides a registry for stencils and the methods for painting those stencils onto a canvas or into a DOM.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxStencilRegistry.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxStencilRegistry.addStencil"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">addStencil</a></td><tdclass=SDescription>Adds the given <ahref="mxStencil-js.html#mxStencil"class=LClassid=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">mxStencil</a>.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxStencilRegistry.getStencil"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">getStencil</a></td><tdclass=SDescription>Returns the <ahref="mxStencil-js.html#mxStencil"class=LClassid=link4onMouseOver="ShowTip(event, 'tt2', 'link4')"onMouseOut="HideTip('tt2')">mxStencil</a> for the given name.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxStencilRegistry.addStencil"></a>addStencil</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>addStencil: function(</td><tdclass=PParameternowrap>name,</td></tr><tr><td></td><tdclass=PParameternowrap>stencil</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given <ahref="mxStencil-js.html#mxStencil"class=LClassid=link5onMouseOver="ShowTip(event, 'tt2', 'link5')"onMouseOut="HideTip('tt2')">mxStencil</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxStencilRegistry.getStencil"></a>getStencil</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>getStencil: function(</td><tdclass=PParameternowrap>name</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the <ahref="mxStencil-js.html#mxStencil"class=LClassid=link6onMouseOver="ShowTip(event, 'tt2', 'link6')"onMouseOut="HideTip('tt2')">mxStencil</a> for the given name.</p></div></div></div>
</div><!--Content-->
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>addStencil: function(</td><tdclass=PParameternowrap>name,</td></tr><tr><td></td><tdclass=PParameternowrap>stencil</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given mxStencil.</div></div><divclass=CToolTipid="tt2"><divclass=CClass>Implements a generic shape which is based on a XML node as a description.</div></div><divclass=CToolTipid="tt3"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>getStencil: function(</td><tdclass=PParameternowrap>name</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxStencil for the given name.</div></div><!--END_ND_TOOLTIPS-->