Search
AnchorPoint Constructor
See Also
 





Initializes a new instance of the AnchorPoint class.

Namespace: MindFusion.Diagramming
File: AnchorPoint.js

 Syntax

JavaScript  Copy Code

function AnchorPoint (x, y, [allowIncoming, [allowOutgoing, [style, [color, [size]]]]])

 Parameters

x

Number. The horizontal position of the anchor expressed as percent of the width of a node.

y

Number. The vertical position of the anchor expressed as percent of the height of a node.

allowIncoming
Optional.

Boolean. Specifies whether incoming links can connect to this anchor.

allowOutgoing
Optional.

Boolean. Specifies whether outgoing links can connect to this anchor.

style
Optional.

MarkStyle. Defines how the anchor point is marked visually.

color
Optional.

String. Defines the color with which the anchor mark is painted.

size
Optional.

Number. Defines the size of the anchor mark.

 See Also