GoDiagram Web Reference
StretchPoints Method

Stretch the points of this stroke by interpolating the points from startIndex to endIndex between the new points newFromPoint and newToPoint.
Syntax
'Declaration
 
Protected Overridable Function StretchPoints( _
   ByVal startIndex As Integer, _
   ByVal newFromPoint As PointF, _
   ByVal endIndex As Integer, _
   ByVal newToPoint As PointF _
) As Boolean
protected virtual bool StretchPoints( 
   int startIndex,
   PointF newFromPoint,
   int endIndex,
   PointF newToPoint
)

Parameters

startIndex
newFromPoint
endIndex
newToPoint
Remarks
The startIndex point should be set to newFromPoint, and the endIndex point should be set to newToPoint, and all the intermediate points should be interpolated linearly to stretch or compress the original set of points from startIndex to endIndex, inclusive, along each of the X and Y dimensions. AdjustPoints calls this method when AdjustingStyle is GoLinkAdjustingStyle.Stretch. This method should not be used when Orthogonal is true.
Requirements

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

See Also

Reference

GoLink Class
GoLink Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback