GoXam for WPF v3
AdjustPoints Method
Northwoods.GoXam Namespace > Route Class : AdjustPoints Method
the zero-based index of the first point to be changed, to be the value of newFromPoint
the zero-based index of the last point to be changed, to be the value of newToPoint
Adjust all of the existing points in this link's stroke in an inclusive range according to new first and last stroke points.
Syntax
protected virtual bool AdjustPoints( 
   int startIndex,
   Point newFromPoint,
   int endIndex,
   Point newToPoint
)

Parameters

startIndex
the zero-based index of the first point to be changed, to be the value of newFromPoint
newFromPoint
endIndex
the zero-based index of the last point to be changed, to be the value of newToPoint
newToPoint
Remarks

This is primarily useful to help maintain intermediate inflection points in a link when one or both ports moves. By default this just calls RescalePoints, StretchPoints, or ModifyEndPoints. This method is not called when there are no existing points to be adjusted or when Adjusting is LinkAdjusting.None.

When this link is Orthogonal, an Adjusting of LinkAdjusting.Scale will just return false to result in the standard orthogonal path. An Adjusting of LinkAdjusting.Stretch for an orthogonal link is treated as if it were LinkAdjusting.End.

See Also

Reference

Route Class
Route Members