Represents a panel that draws a border around its child components.
Namespace: MindFusion.Diagramming
Assembly: Border.js
SyntaxJavaScript
Copy Code
|
|---|
// class |
RemarksBorder objects can be used as components of CompositeNode.
ExampleThis 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" } ] }, |
Inheritance HierarchyMindFusion.Diagramming.Panel
MindFusion.Diagramming.SimplePanel
MindFusion.Diagramming.Border
See Also