Files

36 lines
750 B
C#
Raw Permalink Normal View History

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
{
2023-01-24 17:53:04 +08:00
public class PartCreatedConnectorInfo : ConnectorInfoBase
2023-01-08 09:22:37 +08:00
{
2023-01-27 14:54:03 +08:00
public PartCreatedConnectorInfo(double X, double Y) : this(null, X, Y)
{
}
public PartCreatedConnectorInfo(IDiagramViewModel root, double X, double Y) : base(root, ConnectorOrientation.None)
{
this.position = new PointBase(X, Y);
}
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
}
}
2023-01-27 14:54:03 +08:00
2023-01-08 09:22:37 +08:00
}
}