Table of Contents

Class BalloonLink

Namespace
Northwoods.Go.Extensions
Assembly
BalloonLinkWinForms.dll

This custom Link class customizes its Shape to surround the comment node (the from node).

public class BalloonLink : Link, IHasContextMenu, IHasToolTip
Inheritance
BalloonLink
Implements
Inherited Members

If the Shape is filled, it will obscure the comment itself unless the Link is behind the comment node. Thus the default layer for BalloonLinks is "Background".

The Corner property controls the radius of the curves at the corners of the rectangular area surrounding the comment node, rather than the curve at corners along the route, which is always straight. The default value is 10.

Constructors

Constructs a BalloonLink and sets the LayerName property to "Background".

public BalloonLink()

Properties

Gets or sets width of the base of the triangle at the center point of the FromNode.

public double Base { get; set; }

Property Value

double

The default value is 15.

Methods

Copies properties to a cloned BalloonLink.

protected void CloneProtected(BalloonLink copy)

Parameters

copy BalloonLink

Produce a Geometry from the Link's route that draws a "balloon" shape around the FromNode and has a triangular shape with the base at the FromNode and the top at the ToNode.

public override Geometry MakeGeometry()

Returns

Geometry