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-15 20:27:39 +08:00
|
|
|
|
private PointBase position;
|
|
|
|
|
|
public override PointBase Position
|
2023-01-08 09:22:37 +08:00
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
2023-01-15 20:27:39 +08:00
|
|
|
|
return position;
|
2023-01-08 09:22:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public PartCreatedConnectionInfo(double X, double Y) : base(ConnectorOrientation.None)
|
|
|
|
|
|
{
|
2023-01-15 20:27:39 +08:00
|
|
|
|
this.position = new PointBase(X, Y);
|
2023-01-08 09:22:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|