连接线修改,为支持改变连接点做准备

This commit is contained in:
akwkevin
2021-08-05 18:20:22 +08:00
parent b0c9855d05
commit e9c043ae3a
19 changed files with 405 additions and 50 deletions

View File

@@ -25,11 +25,11 @@ namespace Util.DiagramDesigner
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
List<Point> points = (List<Point>)value;
List<PointInfoBase> points = (List<PointInfoBase>)value;
PointCollection pointCollection = new PointCollection();
if (points != null)
{
foreach (Point point in points)
foreach (var point in points)
{
pointCollection.Add(point);
}