mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
程序添加绘图元素,Demo完成一半
This commit is contained in:
@@ -3,11 +3,11 @@ using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
using System.Linq;
|
||||
using System.Reactive.Linq;
|
||||
using AIStudio.Wpf.DiagramDesigner.Models;
|
||||
using System.Windows;
|
||||
using AIStudio.Wpf.DiagramDesigner.Geometrys;
|
||||
using AIStudio.Wpf.DiagramDesigner.Models;
|
||||
|
||||
namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
@@ -425,7 +425,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
return new PointBase(Left, Top);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[CanDo]
|
||||
public PointBase TopLeft
|
||||
@@ -441,6 +441,14 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
|
||||
public PointBase RightBottom
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Point(Left + ItemWidth, Top + ItemHeight);
|
||||
}
|
||||
}
|
||||
|
||||
private double _angle;
|
||||
[CanDo]
|
||||
public double Angle
|
||||
|
||||
Reference in New Issue
Block a user