GoXam for WPF v3
AddOrthoPoints Method
Northwoods.GoXam Namespace > Route Class : AddOrthoPoints Method
this point will already have been added to the stroke by ComputePoints before calling this method
normally 0, 90, 180, or 270 degrees
ComputePoints will add this point after calling this method
normally 0, 90, 180, or 270 degrees
the Node that the link is coming from
the Node that the link is going to
This method is called by ComputePoints when Orthogonal is true and at least one port has a link spot that is not Spot.IsNoSpot.
Syntax
protected virtual void AddOrthoPoints( 
   Point startFrom,
   double fromDir,
   Point endTo,
   double toDir,
   Node fromnode,
   Node tonode
)

Parameters

startFrom
this point will already have been added to the stroke by ComputePoints before calling this method
fromDir
normally 0, 90, 180, or 270 degrees
endTo
ComputePoints will add this point after calling this method
toDir
normally 0, 90, 180, or 270 degrees
fromnode
the Node that the link is coming from
tonode
the Node that the link is going to
Remarks
ComputePoints is responsible for adding the first two and the last two points of the stroke, including startFrom and endTo. This method is responsible for adding any additional points in the middle of the stroke. This method calls GetMidOrthoPosition to determine the distance of the middle segment between the two ports. It also tries to avoid the source node and the destination node. When the Routing property is not LinkRouting.Normal, this method uses another, more computationally expensive, method for determining the proper path of the link, which may have many segments.
See Also

Reference

Route Class
Route Members