GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLink Class / DoResize Method
the GoView whose GoToolResizing is calling this method
the original Bounds of the object, but probably not useful for links
the PointF, in document coordinates, to which the resize handle is being dragged
The IGoHandle.IGoHandle.HandleID of the handle being dragged. Possible values include:
the value of GoToolResizing.GoToolResizing.MinimumSize, but probably not useful for links
the value of GoToolResizing.GoToolResizing.MaximumSize, but probably not useful for links
In This Topic
    DoResize Method (GoLink)
    In This Topic
    Handle resizing in the same manner as GoStroke, but when Orthogonal is true, we move both points of the middle segment in order to maintain orthogonality.
    Syntax

    Parameters

    view
    the GoView whose GoToolResizing is calling this method
    origRect
    the original Bounds of the object, but probably not useful for links
    newPoint
    the PointF, in document coordinates, to which the resize handle is being dragged
    whichHandle
    The IGoHandle.IGoHandle.HandleID of the handle being dragged. Possible values include:
    • movement of this handle near the FromPort is constrained to be in the vertical direction because this link is Orthogonal
    • movement of this handle near the FromPort is constrained to be in the horizontal direction because this link is Orthogonal
    • movement of this handle near the ToPort is constrained to be in the vertical direction because this link is Orthogonal
    • movement of this handle near the ToPort is constrained to be in the horizontal direction because this link is Orthogonal
    • move both ends of the segment starting with the point whose index is the value minus GoObject.LastHandle minus 1000000, because Orthogonal and DraggableOrthogonalSegments are both true
    • set the point whose index is the value minus GoObject.LastHandle
    • this case is normally handled by GoToolRelinking rather than by this method
    • this case is normally handled by GoToolRelinking rather than by this method
    • this case usually means that the GoHandle should not be dragged
    evttype
    min
    the value of GoToolResizing.GoToolResizing.MinimumSize, but probably not useful for links
    max
    the value of GoToolResizing.GoToolResizing.MaximumSize, but probably not useful for links
    See Also