ASP.NET Pack Programmer's Guide
DiagramItem.getEffectiveBrush Method
See Also
 





Gets the effective brush that should be used to paint this item.

Namespace: MindFusion.Diagramming
Package: DiagramItem.js

 Syntax

JavaScript  Copy Code

function getEffectiveBrush ()

 Return Value

Type: Object
An object specifying the fill of this item.

 Remarks

This method returns the brush set locally for an item via setBrush, or looks up in the styling hierarchy for a brush set in the item's Style, the diagram's Style or the current Theme.

 See Also

DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace
setBrush Method
setStyle Method