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





Represents an effect that adds semitransparency to the node and emphasizes its outline by adding a shade and an inner stroke.

Namespace: MindFusion.Diagramming
Package: NodeEffects.js

 Syntax

JavaScript  Copy Code

// class
AeroEffect.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 Aero effect applied to a rectangular node as well as how the different properties affect the output:

 Example

The following example demonstrates how to apply aero effect to the nodes of an existing diagram.

JavaScript  Copy Code

var AeroEffect = MindFusion.Diagramming.AeroEffect;

var effect = new AeroEffect();
effect.setOpacity(0.5);
effect.setInnerOutlineColor("rgba(255,255,255,0.5)");
diagram.getNodeEffects().push(effect);

 See Also

AeroEffect Members
MindFusion.Diagramming Namespace
Node Effects
GlassEffect Class