Class BalloonLink
Namespace: Northwoods.Go.Extensions
Assembly: BalloonLinkWinForms.dll
Syntax
public class BalloonLink : Link, IHasContextMenu, IHasToolTip
Remarks
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
BalloonLink()
Constructs a BalloonLink and sets the LayerName property to "Background".
Declaration
public BalloonLink()
Properties
Base
Gets or sets width of the base of the triangle at the center point of the FromNode.
Declaration
public double Base { get; set; }
Property Value
Type | Description |
---|---|
double |
Remarks
The default value is 15.
Methods
CloneProtected(BalloonLink)
Copies properties to a cloned BalloonLink.
Declaration
protected void CloneProtected(BalloonLink copy)
Parameters
Type | Name | Description |
---|---|---|
BalloonLink | copy |
MakeGeometry()
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.
Declaration
public override Geometry MakeGeometry()
Returns
Type | Description |
---|---|
Geometry |