Represents a glass-like visual effect.
Namespace: MindFusion.Diagramming
Package: NodeEffects.js
JavaScript Copy Code |
---|
// class |
This effect can be applied to the nodes in a Diagram by adding an instance of this class to the NodeEffects collection.
The following image illustrates the Glass effect applied to an item as well as how the different properties affect the output:
The following example demonstrates how to apply glass effect to the nodes of an existing diagram.
JavaScript Copy Code |
---|
var GlassEffect = MindFusion.Diagramming.GlassEffect; diagram.getNodeEffects().push(new GlassEffect()); |