Table of Contents

Class OrthogonalLinkReshapingTool

Namespace
Northwoods.Go.Tools.Extensions
Assembly
OrthogonalLinkReshapingWinForms.dll

The OrthogonalLinkReshapingTool class lets a user drag a tool handle along the link segment, which will move the whole segment.

public class OrthogonalLinkReshapingTool : LinkReshapingTool
Inheritance
OrthogonalLinkReshapingTool
Inherited Members

Constructors

OrthogonalLinkReshapingTool()

Constructs an OrthogonalLinkReshapingTool and sets the name for the tool.

public OrthogonalLinkReshapingTool()

Methods

DoDeactivate()

This stops the current reshaping operation and updates any link handles.

public override void DoDeactivate()

Create the segment dragging handles.

public void MakeSegmentDragHandle(Link link, Adornment adornment, int index)

Parameters

link Link
adornment Adornment
index int

There are two parts: one invisible handle that spans the segment, and a visible handle at the middle of the segment. These are inserted at the front of the adornment such that the normal handles have priority.

Reshape(Point)

Change the route of the AdornedLink by moving the segment corresponding to the current Handle to be at the given Point.

public override void Reshape(Point newpt)

Parameters

newpt Point