GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLink Class
Fields Properties Methods


In This Topic
    GoLink Class Members
    In This Topic

    The following tables list the members exposed by GoLink.

    Public Constructors
     NameDescription
    Public Constructor The constructor produces a link connected to no ports, and that is not movable by the user, but is relinkable.  
    Top
    Public Fields
     NameDescription
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public FieldThis is a GoObject.Changed subhint.  
    Public Field This is a special handle ID.  
    Public Field This is a special handle ID.  
    Top
    Public Properties
     NameDescription
    Public PropertyGet the object acting as the IGoLink.  
    Public PropertyGets or sets how CalculateStroke behaves.  
    Public Property Gets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the link's path tries to avoid other nodes.  
    Public Property Gets whether this object is in the process of being removed from its layer or group. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's bottom coordinate. (Inherited from Northwoods.Go.GoObject)
    Public Property Whenever the size and/or position is changed, we clear out any cached data. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the brush used to fill the outline of this shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the main or background color of the brush. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the size of the focus area for path gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the foreground color of a brush. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the middle color of a gradient brush. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the fractional distance between the end colors at which the middle color is drawn. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the end point for linear gradients or the focus point for path gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the start point for linear gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the kind of brush used by this shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets this object's center position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can copy this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets how rounded the corners are for adjacent line segments when the stroke style is RoundedLine. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets whether the user can delete this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the document that this object belongs to, or null if this is not in a layer or if this is in a view layer. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user may drag a resizable segment of an Orthogonal link.  
    Public Property Gets the object that will be dragged instead of this selected object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object, when selected and a child of a group, and when dragged, drags the parent node instead. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can edit this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets the GoControl being used to edit this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyOverridden.  Return the index of the first stroke point to get a selection handle.  
    Public Property Gets or sets whether an arrow is drawn at the start of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets a point which specifies the direction the arrow is coming from. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets the point at the tip of the arrowhead at the start of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets whether the arrowhead at the start of this stroke is filled with the brush. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the length of the arrowhead at the start of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the length of the shaft of the arrowhead at the start of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the general shape of an arrowhead at the start of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the maximum width of the arrowhead at the start of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets the node that the link is coming from.  
    Public Property Gets or sets the port that the link is coming from.  
    Public PropertyReturns itself as a GoObject.  
    Public Property Gets or sets this object's height. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this stroke displays a highlight along its path. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the pen used to draw a highlight for this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public PropertyGets or sets the color of the GoStroke.HighlightPen. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the width of the line drawn as the highlight for the stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets whether the highlight is shown when this stroke becomes selected. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets whether this object is in the process of being initialized. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object belongs to a document. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object belongs to a view. (Inherited from Northwoods.Go.GoObject)
    Public Property Return true when both ports are the same.  
    Public Property Gets whether this object is a top-level object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyOverridden.  Return the index of the last stroke point to get a selection handle.  
    Public Property Gets the layer to which this object belongs. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's left coordinate, the X position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's natural position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can move this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the segments of the link are always horizontal or vertical.  
    Public Property Gets the parent group for this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyThis convenience property gets the highest-level object in the GoObject.Parent chain that is not a GoSubGraphBase. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets the unique ID of this part within its document.  
    Public Property Gets or sets the pen used to draw the outline of this shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the color of the pen. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the width of the pen. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets the approximate width of the region across the stroke, in addition to the pen width, that is still considered "inside" the stroke when picking. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets the number of points in this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets this object's top-left corner's position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the view can print this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user may reconnect this link to another port.  
    Public Property Gets or sets whether the user can reshape this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can resize this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object continuously changes its size during a user resizing operation. [In Web Forms there is no continuous visual feedback of a resize.] (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's right coordinate. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can select this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the object that gets selection handles when this object is selected. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object is painted with a drop shadow. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's dimensions. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the UndoManager is notified upon a change to this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyOverridden. When IsSelfLoop is true and Orthogonal is false, the stroke style is assumed to be GoStrokeStyle.Bezier.  
    Public Property Gets or sets whether any document Changed event handlers are called upon a change to this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether an arrow is drawn at the end of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets a point which specifies the direction the arrow is coming from. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets the point at the tip of the arrowhead at the end of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets whether the arrowhead at the end of this stroke is filled with the brush. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the length of the arrowhead at the end of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the length of the shaft of the arrowhead at the end of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the general shape of an arrowhead at the end of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets or sets the maximum width of the arrowhead at the end of this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Property Gets the node that the link is going to.  
    Public Property Gets or sets a string to be displayed in a tooltip.  
    Public Property Gets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the top-level object for this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets the port that the link is going to.  
    Public Property Gets or sets an integer value associated with this link.  
    Public Property Gets or sets an object associated with this link.  
    Public Property Gets the view that this object belongs to, or null if this is not in a layer or if this is in a document layer. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can see this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's width. (Inherited from Northwoods.Go.GoObject)
    Top
    Protected Properties
     NameDescription
    Protected Property Gets or sets whether the bounds are up to date. (Inherited from Northwoods.Go.GoObject)
    Top
    Public Methods
     NameDescription
    Public Method Register an object as an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoStroke)
    Public MethodOverridden. Unlike a normal GoStroke the end handles are in the shape of diamonds if Relinkable is true.  
    Public Method Modify an array of points to hold the four points of a polygon outlining an arrowhead (Inherited from Northwoods.Go.GoStroke)
    Public MethodThis implementation of IGoRoutable just calls CalculateStroke to determine a new path (i.e. a new set of points) for this link.  
    Public Method This method is responsible for determining the points in the stroke, given the positions of the ports.  
    Public Method Called to see if the user can copy this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can delete this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can edit this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can move this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the view can print this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can reshape this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can resize this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can select this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can see this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  If one of the stroke's points has changed, we notify this link's AbstractLink about the change, so that it has a chance to recalculate its stroke.  
    Public MethodOverridden.  Performs changes for undo and redo.  
    Public Method Notify this object's document or view that some part of this object's state is about to be changed. (Inherited from Northwoods.Go.GoObject)
    Public Method Remove all of the points for this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Method Calculate a new location for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Calculate a new bounding rectangle for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Consider the Pen width when determining if this shape is inside a rectangle. (Inherited from Northwoods.Go.GoShape)
    Public Method A point is in a stroke only if it is near one of its segments. (Inherited from Northwoods.Go.GoStroke)
    Public MethodThis convenience method just makes a copy of the object itself, using a generic GoCopyDictionary. (Inherited from Northwoods.Go.GoObject)
    Public Method Copies state to permit a redo. (Inherited from Northwoods.Go.GoStroke)
    Public MethodOverridden. Copying a link does not immediately set the IGoLink.FromPort and IGoLink.ToPort of the copied link, but does add the link to the copy dictionary's Delayeds collection so that later processing can set those properties.  
    Public MethodOverridden.  Make sure both ports are newly copied ports, or else remove this link from the destination layer.  
    Public Method Copies state to permit an undo. (Inherited from Northwoods.Go.GoStroke)
    Public Method Returns a copy of the array of points in this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Method Create a bounding handle for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Create a GoControl that implements an editor for this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Create a resize handle for this object, given a handle ID. (Inherited from Northwoods.Go.GoObject)
    Public Method Start editing this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Stop editing this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when a user moves this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden. 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.  
    Public Method Consider Pen width, miter limit, drop shadow and highlight in computing the paint bounds. (Inherited from Northwoods.Go.GoStroke)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public Method Gets the number of points to be used in the polygon representing an arrowhead. (Inherited from Northwoods.Go.GoStroke)
    Public MethodCalled to get a GoContextMenu to display for this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled to get a ContextMenuStrip to display for this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled by GoObject.OnMouseOver to determine the cursor, if any, to display over this object. (Inherited from Northwoods.Go.GoObject)
    Public Method The closest intersection point of a stroke with a line is the closest such point for each of its segments. (Inherited from Northwoods.Go.GoStroke)
    Public MethodOverloaded.   
    Public MethodOverloaded.   
    Public MethodReturn a GoPartInfo that describes this object and that can be transmitted to the client (user agent) as JavaScript data structures that can be used by code running on the client. (Inherited from Northwoods.Go.GoObject)
    Public Method Get the point at a particular index. (Inherited from Northwoods.Go.GoStroke)
    Public Method Get the position of a spot in a rectangle. (Inherited from Northwoods.Go.GoObject)
    Public Method Return the index of the first point of a segment of this stroke that is close to a given point. (Inherited from Northwoods.Go.GoStroke)
    Public Method Get a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Gets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Get a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Get the position of a spot on this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  Return a string to be displayed in a tooltip, or null for none.  
    Public Method Add a point at a particular index, thereby increasing the number of points by one. (Inherited from Northwoods.Go.GoStroke)
    Public Method Cause all views to repaint this object when they get a chance. (Inherited from Northwoods.Go.GoObject)
    Public Method Determines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.Go.GoObject)
    Public MethodReturns a GraphicsPath representation of what will be drawn. (Inherited from Northwoods.Go.GoStroke)
    Public Method Called when the user context clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user double clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled when the document object immediately under the mouse changes as the mouse moves when no particular tool is running or when the GoToolDragging tool is running. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when this object becomes selected. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user hovers over this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when this object becomes unselected. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.Go.GoObject)
    Public Method Let links get notifications of changes to either port or to the link itself.  
    Public Method Called after the user has dropped the selection on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called during a user's drag of the view's Selection when the mouse is over this object, to give this object a chance to veto a drop. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user single clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method A stroke is drawn as a sequence of straight line segments or Bezier curves, with optional arrows at the ends. (Inherited from Northwoods.Go.GoStroke)
    Public Method Return an object at a point, perhaps only a selectable one. (Inherited from Northwoods.Go.GoObject)
    Public Method Notify both ports that there was a change to this link.  
    Public Method This convenience method just removes this object from its container, if there is any. (Inherited from Northwoods.Go.GoObject)
    Public Method Make sure an object is not an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Remove the point at a particular index, thereby reducing the number of points by one. (Inherited from Northwoods.Go.GoStroke)
    Public MethodBesides removing all selection handles, we also turn off any highlighting if GoStroke.HighlightWhenSelected is true. (Inherited from Northwoods.Go.GoStroke)
    Public Method Replace the point at a particular index; (Inherited from Northwoods.Go.GoStroke)
    Public Method Replace all of the points for this stroke. (Inherited from Northwoods.Go.GoStroke)
    Public Method Modify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.Go.GoObject)
    Public Method Sets a new size for this object while maintaining the same location. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoObject)
    Public Method Get the spot that is on the opposite side of a given spot. (Inherited from Northwoods.Go.GoObject)
    Public Method Remove this link from its layer.  
    Public Method Request the recalculation of the stroke for this link.  
    Top
    Protected Methods
     NameDescription
    Protected MethodThis method is called by CalculateStroke when Orthogonal is true and both ports are instances of GoPort and at least one of them have a link spot that is not NoSpot.  
    Protected Method Adjust all of the existing points in this link's stroke in an inclusive range according to new first and last stroke points.  
    Protected Method The bounding rectangle of a stroke is computed as the smallest rectangle that includes all of the stroke's points. (Inherited from Northwoods.Go.GoStroke)
    Protected MethodThis method is called by GoStroke.Paint to actually draw an arrowhead. (Inherited from Northwoods.Go.GoStroke)
    Protected MethodThis method is called by AddOrthoPoints to determine the distance of the middle segment between the two ports.  
    Protected MethodGets a cached GraphicsPath produced by a call to GoShape.MakePath. (Inherited from Northwoods.Go.GoShape)
    Protected MethodModify only the end points of this stroke to match any new newFromPoint or newToPoint points; intermediate points are not changed.  
    Protected Method Changing the bounds of a stroke may change all of the stroke's points. (Inherited from Northwoods.Go.GoStroke)
    Protected MethodOverridden.  When a link is removed from a layer, also remove it from the collections of connected links of both ports.  
    Protected Method Called when an observed object has been changed. (Inherited from Northwoods.Go.GoObject)
    Protected Method Called when this object's parent is changed. (Inherited from Northwoods.Go.GoObject)
    Protected MethodMaintain the same shape for the stroke, but scale and rotate according to new points newFromPoint and newToPoint.  
    Protected MethodClear any cached GraphicsPath. (Inherited from Northwoods.Go.GoShape)
    Protected MethodStretch the points of this stroke by interpolating the points from startIndex to endIndex between the new points newFromPoint and newToPoint.  
    Top
    See Also