Gets or sets the default value for the Brush property of shape nodes.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public Brush ShapeBrush { get; set; } |
Visual Basic Copy Code |
---|
Public Property ShapeBrush As Brush |
An instance of a MindFusion.Drawing.Brush-derived class.
The property provides a default value for the brush, with which a node' interior is filled. The Brush property of new shape nodes is initialized with a clone of ShapeBrush, but after the node creation the properties are independent - changing one of them does not change the other.
In ImageMap mode of NetDiagram, this property also specifies the color that fills the DIV element representing the new node being drawn.
NetDiagram Programmer's Guide | © 2023 MindFusion |