Implements a shape based on a mxStencil.
mxStencilShape | Implements a shape based on a mxStencil. |
Functions | |
mxStencilShape | Constructs a new generic shape. |
Variables | |
mixedModeHtml | Always prefers VML in mixed mode for stencil shapes. |
preferModeHtml | Always prefers VML in prefer HTML mode for stencil shapes. |
stencil | Holds the mxStencil that defines the shape. |
state | Holds the mxCellState associated with this shape. |
vmlScale | Renders VML with a scale of 4. |
Functions | |
apply | Extends mxShape apply to keep a reference to the mxCellState. |
createSvg | Creates and returns the SVG node(s) to represent this shape. |
configureHtmlShape | Overrides method to set the overflow style to visible. |
createSvg | Creates and returns the SVG node(s) to represent this shape. |
configureVmlShape | Configures the specified VML node by applying the current color, bounds, shadow, opacity etc. |
redraw | Creates and returns the SVG node(s) to represent this shape. |
redrawShape | Updates the SVG or VML shape. |
mxStencilShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxStencilShape.prototype.state
Holds the mxCellState associated with this shape.
mxStencilShape.prototype.apply = function( state )
Extends mxShape apply to keep a reference to the mxCellState.
state | mxCellState of the corresponding cell. |
Constructs a new generic shape.
function mxStencilShape( stencil )
Always prefers VML in mixed mode for stencil shapes.
mxStencilShape.prototype.mixedModeHtml
Always prefers VML in prefer HTML mode for stencil shapes.
mxStencilShape.prototype.preferModeHtml
Holds the mxStencil that defines the shape.
mxStencilShape.prototype.stencil
Holds the mxCellState associated with this shape.
mxStencilShape.prototype.state
Renders VML with a scale of 4.
mxStencilShape.prototype.vmlScale
Extends mxShape apply to keep a reference to the mxCellState.
mxStencilShape.prototype.apply = function( state )
Creates and returns the SVG node(s) to represent this shape.
mxStencilShape.prototype.createSvg = function()
Overrides method to set the overflow style to visible.
mxStencilShape.prototype.configureHtmlShape = function( node )
Configures the specified VML node by applying the current color, bounds, shadow, opacity etc.
mxStencilShape.prototype.configureVmlShape = function( node )
Creates and returns the SVG node(s) to represent this shape.
mxStencilShape.prototype.redraw = function()
Updates the SVG or VML shape.
mxStencilShape.prototype.redrawShape = function()