GoXam for WPF v3
GetLinkPointFromPoint Method
Northwoods.GoXam Namespace > Route Class : GetLinkPointFromPoint Method
the FrameworkElement representing a port on the node
the point in model coordinates to/from which the link should point, normally the center of the port
often this point is far away from the node, to give a general direction, particularly an orthogonal one
true if the link is coming out of the port; false if going to the port
Compute the intersection point for the edge of a particular port element, given a point, when no particular spot or side has been specified.
Syntax
protected virtual Point GetLinkPointFromPoint( 
   Node node,
   FrameworkElement port,
   Point focus,
   Point p,
   bool from
)

Parameters

node
port
the FrameworkElement representing a port on the node
focus
the point in model coordinates to/from which the link should point, normally the center of the port
p
often this point is far away from the node, to give a general direction, particularly an orthogonal one
from
true if the link is coming out of the port; false if going to the port

Return Value

the point in model coordinates of the intersection point on the edge of the port
See Also

Reference

Route Class
Route Members