Represents a set of appearance properties whose values can be inherited from parent objects if not set locally for an item.
Namespace: MindFusion.Diagramming
File: Style.js
JavaScript Copy Code |
---|
// class |
An instance of this class can be used to set items' appearance properties as a single unit via their style property. In order for style attributes to be used, the respective local appearance properties of a DiagramItem objects must have undefined or null values. If an item's style does not define a value for some attribute, it is looked up in the styling hierarchy, first in the diagram's style, next in the current theme, and finally in the set of default styles defined for each item class.
MindFusion.Diagramming.Style
JavaScript Pack Programmer's Guide | © 2024 MindFusion |