Represents a glass-like visual effect.
Namespace: MindFusion.Diagramming
File: NodeEffects.js
JavaScript Copy Code |
---|
// class |
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()); |
MindFusion.Diagramming.NodeEffect
MindFusion.Diagramming.GlassEffect
JavaScript Pack Programmer's Guide | © 2024 MindFusion |