34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
|
|
using System;
|
|||
|
|
using Microsoft.Msagl.Core.Geometry;
|
|||
|
|
using Microsoft.Msagl.Core.Geometry.Curves;
|
|||
|
|
using Microsoft.Msagl.Core.Layout;
|
|||
|
|
|
|||
|
|
namespace Microsoft.Msagl.Routing {
|
|||
|
|
///<summary>
|
|||
|
|
///this is a port for routing from a cluster
|
|||
|
|
///</summary>
|
|||
|
|
public class ClusterBoundaryPort : RelativeFloatingPort {
|
|||
|
|
Polyline loosePolyline;
|
|||
|
|
internal Polyline LoosePolyline {
|
|||
|
|
get { return loosePolyline; }
|
|||
|
|
set { loosePolyline = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
///<summary>
|
|||
|
|
///constructor
|
|||
|
|
///</summary>
|
|||
|
|
///<param name="curveDelegate"></param>
|
|||
|
|
///<param name="centerDelegate"></param>
|
|||
|
|
///<param name="locationOffset"></param>
|
|||
|
|
public ClusterBoundaryPort(Func<ICurve> curveDelegate, Func<Point> centerDelegate, Point locationOffset)
|
|||
|
|
: base(curveDelegate, centerDelegate, locationOffset) { }
|
|||
|
|
|
|||
|
|
///<summary>
|
|||
|
|
///constructor
|
|||
|
|
///</summary>
|
|||
|
|
///<param name="curveDelegate"></param>
|
|||
|
|
///<param name="centerDelegate"></param>
|
|||
|
|
public ClusterBoundaryPort(Func<ICurve> curveDelegate, Func<Point> centerDelegate)
|
|||
|
|
: base(curveDelegate, centerDelegate) { }
|
|||
|
|
}
|
|||
|
|
}
|