Gets or sets an object specifying how to fill the interior of this item.
Namespace: MindFusion.Diagramming
File: 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 = |
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |