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
JavaScript
![]() |
---|
// class |
The following code defines a custom shape object: