mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-12 12:16:37 +08:00
使用物理尺寸进行设置
This commit is contained in:
@@ -4,6 +4,7 @@ using System.IO;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
@@ -27,14 +28,15 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
Orientation = viewmodel.Orientation;
|
||||
}
|
||||
|
||||
|
||||
[XmlAttribute]
|
||||
[JsonProperty(PropertyName = "ConnectorWidth")]
|
||||
[XmlAttribute("ConnectorWidth")]
|
||||
public double PhysicalConnectorWidth
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
[JsonProperty(PropertyName = "ConnectorHeight")]
|
||||
[XmlAttribute("ConnectorHeight")]
|
||||
public double PhysicalConnectorHeight
|
||||
{
|
||||
get; set;
|
||||
|
||||
Reference in New Issue
Block a user