mxGraph
Static Public Member Functions | Static Protected Attributes | List of all members
com.mxgraph.mxStencilRegistry Class Reference

Static Public Member Functions

static void AddStencil (string name, mxStencil stencil)
 Adds the given stencil. More...
 
static mxStencil GetStencil (string name)
 Returns the stencil for the given name. More...
 

Static Protected Attributes

static Dictionary< string, mxStencilstencils = new Dictionary<string, mxStencil>()
 

Member Function Documentation

◆ AddStencil()

static void com.mxgraph.mxStencilRegistry.AddStencil ( string  name,
mxStencil  stencil 
)
inlinestatic

Adds the given stencil.

Parameters
name
stencil

◆ GetStencil()

static mxStencil com.mxgraph.mxStencilRegistry.GetStencil ( string  name)
inlinestatic

Returns the stencil for the given name.

Parameters
name
Returns

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), and com.mxgraph.mxStencil.DrawElement().


The documentation for this class was generated from the following file: