2023-01-08 09:22:37 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Windows;
|
2023-01-12 23:02:53 +08:00
|
|
|
|
using AIStudio.Wpf.DiagramDesigner.Geometrys;
|
2023-01-08 09:22:37 +08:00
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Wpf.DiagramDesigner
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PartCreatedConnectionInfo : ConnectorInfoBase
|
|
|
|
|
|
{
|
2023-01-12 23:02:53 +08:00
|
|
|
|
private ConnectorPoint location;
|
|
|
|
|
|
public override ConnectorPoint Location
|
2023-01-08 09:22:37 +08:00
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
2023-01-12 23:02:53 +08:00
|
|
|
|
return location;
|
2023-01-08 09:22:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public PartCreatedConnectionInfo(double X, double Y) : base(ConnectorOrientation.None)
|
|
|
|
|
|
{
|
2023-01-12 23:02:53 +08:00
|
|
|
|
this.location = new ConnectorPoint(X, Y);
|
2023-01-08 09:22:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|