mxStencilRegistry

A singleton class that provides a registry for stencils and the methods for painting those stencils onto a canvas or into a DOM.

Summary
mxStencilRegistryA singleton class that provides a registry for stencils and the methods for painting those stencils onto a canvas or into a DOM.
Functions
addStencilAdds the given mxStencil.
getStencilReturns the mxStencil for the given name.

Functions

addStencil

addStencil: function(name,
stencil)

Adds the given mxStencil.

getStencil

getStencil: function(name)

Returns the mxStencil for the given name.

addStencil: function(name,
stencil)
Adds the given mxStencil.
Implements a generic shape which is based on a XML node as a description.
getStencil: function(name)
Returns the mxStencil for the given name.
Close