Initializes a new instance of the Shape class.
Namespace: MindFusion.Diagramming
File: Shape.js
JavaScript
![]() |
---|
function Shape ([params]) |
A string defining the shape's outline.
A string defining the shape's decoration.
A string defining additional shape decoration.
The string identifier of the shape.
A string specifying the stroke of the shape's outline.
A string specifying the fill of the shape's outline.
A string specifying the stroke of the shape's decoration.
A string specifying the fill of the shape's decoration.
A string specifying the stroke of the additional shape decoration.
A string specifying the fill of the additional shape decoration.
The id argument should match an identifier passed to a constructor of the existing shape templates.