Sets an object that specifies how to paint the interior of the DiagramItem.
Namespace: MindFusion.Diagramming
Package: DiagramItem.js
JavaScript Copy Code |
---|
function setBrush (value) |
This property can be set to a color string to specify solid fill:
JavaScript Copy Code |
---|
node.setBrush("white"); |
It also accepts objects that specify the type of brush and additional information:
JavaScript Copy Code |
---|
node1.setBrush( |
DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace
Customizing Node Appearance