Gets or sets an object specifying how to fill the interior of this item.
Namespace: MindFusion.Diagramming
Assembly: DiagramItem.js
SyntaxJavaScript
Copy Code
|
|---|
get brush() {} |
Object
A color string or an object literal specifying gradient.
RemarksThis 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 = |
See Also