Border Class
Remarks See Also

Represents a panel that draws a border around its child components.

Namespace: MindFusion.Diagramming
Package: Border.js


JavaScript  Copy Code

// class
Border.prototype = {}


Border objects can be used as components of CompositeNode.


This part of a custom CompositeNode's JSON template shows Text component inside a Border:

JavaScript  Copy Code
    component: "Border",
    gridColumn: 0,
    name: "SurnameBorder",
    pen: "yellow",
    strokeThickness: 2,
    brush: "green",
    margin: "2, 0, 0, 0",
            component: "Text",
            name: "Surname",
            autoProperty: true,
            text: "",
            font: "Arial"

 Inheritance Hierarchy

 See Also