GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLink Class / StretchPoints Method
In This Topic
    StretchPoints Method
    In This Topic
    Stretch the points of this stroke by interpolating the points from startIndex to endIndex between the new points newFromPoint and newToPoint.
    Syntax
    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.
    See Also