MindFusion.Diagramming for JavaScript Programmer's Guide
DiagramItem.getEffectiveTextColor Method
See Also
 





Gets the effective text color that should be used to render this item's text.

Namespace: MindFusion.Diagramming
File: DiagramItem.js

 Syntax

JavaScript  Copy Code

function getEffectiveTextColor ()

 Return Value

A string specifying the item's text color.

 Remarks

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

 See Also

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