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





Represents an effect that smooths the shadow of nodes. This effect does nothing if shadows are not visible.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public sealed class SmoothShadowEffect : NodeEffect

Visual Basic  Copy Code

Public NotInheritable Class SmoothShadowEffect
    Inherits NodeEffect

 Remarks

This effect can be applied to the nodes in a Diagram by adding an instance of this class to the NodeEffects collection. In addition, this effect will be active only when the Diagram.EffectsProvider property is set to an object implementing the GenerateShadow method of the IEffectsProvider interface.

The following image illustrates the Shadow effect applied to a rectangular node:

 Example

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

C#  Copy Code

diagram.NodeEffects.Add(new SmoothShadowEffect());

Visual Basic  Copy Code

diagram.NodeEffects.Add(New SmoothShadowEffect())

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.NodeEffect
        MindFusion.Diagramming.SmoothShadowEffect

 See Also

SmoothShadowEffect Members
MindFusion.Diagramming Namespace