Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoLink Class : AdjustPoints Method |
'Declaration Protected Overridable Function AdjustPoints( _ ByVal startIndex As Integer, _ ByVal newFromPoint As PointF, _ ByVal endIndex As Integer, _ ByVal newToPoint As PointF _ ) As Boolean
protected virtual bool AdjustPoints( int startIndex, PointF newFromPoint, int endIndex, PointF newToPoint )
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 AdjustingStyle is GoLinkAdjustingStyle.Calculate.
When this link is Orthogonal, an AdjustingStyle of GoLinkAdjustingStyle.Scale will just return false to result in the standard orthogonal path. An AdjustingStyle of GoLinkAdjustingStyle.Stretch for an orthogonal link is treated as if it were GoLinkAdjustingStyle.End.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2