Represents a set of anchor points, which specify the exact locations where links are allowed to connect to nodes.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public class AnchorPattern : ICloneable |
Visual Basic
![]() |
---|
Public Class AnchorPattern |
A pattern can be assigned as an integral entity to the AnchorPattern property of nodes. By default, when assigning a pattern to a node, a new copy of the pattern is created. Thus you can modify nodes' anchor patterns independently at runtime. However, if your anchor patterns won't change while the application executes, you can register them as shared to save storage space for the diagram. To do so, use AnchorPattern constructors that take a string id parameter. The AnchorPattern class exposes several predefined patterns as static properties; all of them are considered shared.
System.Object
MindFusion.Diagramming.AnchorPattern
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |