Represents a panel that draws a border around its child components.
Namespace: MindFusion.Diagramming
Package: Border.js
JavaScript Copy Code |
---|
// class |
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", children: [ { component: "Text", name: "Surname", autoProperty: true, text: "", font: "Arial" } ] }, |
MindFusion.Diagramming.Panel
MindFusion.Diagramming.SimplePanel
MindFusion.Diagramming.Border