MindFusion.Java Package Programmer's Guide
DiagramLink Constructor (Diagram, Point2D, Point2D)
See Also
 






Initializes a new instance of the DiagramLink class by setting its properties to the default values defined in the specified diagram, and setting the specified points as link's origin and destination.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public DiagramLink (
    Diagram parent,
    Point2D src,
    Point2D dest
)

 Parameters

parent

A Diagram instance whose default linkattributes are copied to this link.

src

Point2D object representing thelink origin point.

dest

Point2D object representing thelink destination point.

 See Also

DiagramLink Constructor Overload List
DiagramLink Class
com.mindfusion.diagramming Namespace