Search
AnchorPoint Constructor (Double, Double, Boolean, Boolean, MarkStyle, Color)
See Also
 





Initializes a new instance of the AnchorPoint class with the specified coordinates, restrictions, style and color.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public AnchorPoint (
    double x,
    double y,
    bool allowIncoming,
    bool allowOutgoing,
    MarkStyle markStyle,
    Color color
)

Visual Basic  Copy Code

Public New ( _
    x As Double, _
    y As Double, _
    allowIncoming As Boolean, _
    allowOutgoing As Boolean, _
    markStyle As MarkStyle, _
    color As Color _
)

 Parameters

x
The horizontal position of the anchor expressed as percentage of the width of a node.
y
The vertical position of the anchor expressed as percentage of the height of a node.
allowIncoming
Specifies whether incoming links can connect to this anchor.
allowOutgoing
Specifies whether outgoing links can connect to this anchor.
markStyle
Defines how the anchor point is marked visually.
color
The color with which the anchor mark is painted.

 See Also