ASP.NET Pack Programmer's Guide
GlassEffect Class
Remarks See Also
 





Represents a glass-like visual effect.

Namespace: MindFusion.Diagramming
Package: NodeEffects.js

 Syntax

JavaScript  Copy Code

// class
GlassEffect.prototype = {}

 Remarks

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:

 Example

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());

 See Also

GlassEffect Members
MindFusion.Diagramming Namespace
Node Effects
AeroEffect Class