Aetheria/Assets/Plugins/MSAGL/Routing/Rectilinear/WaypointPort.cs

30 lines
774 B
C#
Raw Normal View History

using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
using Microsoft.Msagl.Core.Layout;
namespace Microsoft.Msagl.Routing.Rectilinear{
/// <summary>
/// keep this class internal, it not a full fledged Port
/// </summary>
internal class WaypointPort : FloatingPort{
/// <summary>
///
/// </summary>
/// <param name="location"></param>
public WaypointPort(Point location):base(null,location){
this.location = location;
}
readonly Point location;
/// <summary>
///
/// </summary>
public override Point Location {
get { return location; }
}
public override ICurve Curve {
get { return null; }
}
}
}