MindFusion.Wpf Pack Programmer's Guide
FreeFormNode Class
Remarks See Also
 





A FreeFormNode collects all points from users' mouse or touch input and displays them as node's outline.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public class FreeFormNode : DiagramNode

Visual Basic  Copy Code

Public Class FreeFormNode
    Inherits DiagramNode

 Remarks

To let users draw free-form nodes interactively, set Behavior to DrawFreeForms or LinkFreeForms. Use the Points property of FreeFormNode to get or set outline points programmatically. If the Closed property is set, the node is drawn as a closed shape and its interior filled, or otherwise the node is drawn as a polyline. If the distance between first and last points drawn by user is shorter than AutoCloseDistance, the node's Closed property is automatically set to true. AutoCloseDistance default value is Double.MaxValue, so free-form nodes are always closed.

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        MindFusion.Diagramming.Wpf.DiagramItem
                            MindFusion.Diagramming.Wpf.DiagramNode
                                MindFusion.Diagramming.Wpf.FreeFormNode

 See Also

FreeFormNode Members
MindFusion.Diagramming.Wpf Namespace