GlassEffect Class
Remarks See Also

Represents a glass-like visual effect.

Namespace: MindFusion.Diagramming
Package: NodeEffects.js


JavaScript  Copy Code

// class
GlassEffect.prototype = {}


This effect can be applied to all nodes in a Diagram by adding GlassEffect instance to the nodeEffects collection, or to individual nodes by adding it to their effects array.

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.nodeEffects.push(new GlassEffect());

 Inheritance Hierarchy


 See Also