Initializes a new instance of the ShapeElement class.
Namespace: MindFusion.Diagramming
File: Shape.js
JavaScript Copy Code |
---|
function ShapeElement ([func, [args, [strokeColor, [strokeThickness, [strokeDashStyle]]]]]) |
String. One of the moveTo, lineTo, arc, bezierCurveTo, roundRect functions.
Array. Coordinates to pass to the drawing function.
String. Optional color to apply to the element.
Number. Optional thickness to apply to the element.
DashStyle. Optional dash style to apply to the element.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |