GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPort Class / GetToLinkDir Method
In This Topic
    GetToLinkDir Method (GoPort)
    In This Topic
    Determine the direction that a link will go when going into this port.
    Syntax
    public virtual float GetToLinkDir( 
       IGoLink link
    )

    Parameters

    link

    Return Value

    A direction in degrees, where the positive X axis is zero, and where 90 is downward along the positive Y axis.
    Remarks
    When the value of ToSpot is not GoObject.NoSpot or GoObject.Middle, this just returns the result of calling GetLinkDir. Otherwise this returns one of the horizontal or vertical directions, based on the relative positions of the link's other port. You may wish to override this method if you want to customize dynamically the direction of the link at the link point.
    See Also