Northwoods.GoXam Namespace > Route Class : GetLinkDirection Method |
FrameworkElement
representing a port on the node
FrameworkElement
representing a port on the nodeIf the spot is a specific spot or is a side, this will return the corresponding multiple of 90 degrees. For example, the spot Spot.MiddleLeft will return 180 and a spot near the bottom will return 90. For spots that are exactly toward the corners, this will return a multiple of 45 degrees. For example, the spot Spot.BottomLeft will return 135.
If FromEndSegmentDirection or ToEndSegmentDirection is LinkEndSegmentDirection.RotatedNode or LinkEndSegmentDirection.RotatedNodeOrthogonal, these values are rotated according to the RotationAngle, unless the spot is Spot.None.