Gets or sets an object specifying how to fill the interior of this item.
Namespace: MindFusion.Diagramming
Package: DiagramItem.js
JavaScript Copy Code |
---|
get brush() {} |
Object
A color string or an object literal specifying gradient.
This property can be set to a color string to specify solid fill:
JavaScript Copy Code |
---|
node.brush = "white"; |
It also accepts objects that specify the type of brush and additional information:
JavaScript Copy Code |
---|
node1.brush = |
NetDiagram Programmer's Guide | © 2023 MindFusion |