MindFusion.Diagramming for JavaScript Programmer's Guide
Shape Class
See Also
 





An instance of this class represents a shape defined through a series of arc, line and Bezier segments. The segments can be a part of the shape outline, in which case they define the part of the shape is filled, used for hit-testing and for aligning links to the node edges. Segments can also be added as decoration elements, in which case they only affect the appearance of a ShapeNode.

Namespace: MindFusion.Diagramming
File: Shape.js

 Syntax

JavaScript  Copy Code

// class
Shape.prototype = {}

 Example

The following code defines a custom shape object:

 See Also

Shape Members
MindFusion.Diagramming Namespace