mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 08:46:34 +08:00
实际尺寸之间转换
This commit is contained in:
@@ -22,21 +22,20 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
public ConnectorInfoItemBase(ConnectorInfoBase viewmodel) : base(viewmodel)
|
||||
{
|
||||
ConnectorWidth = viewmodel.ConnectorWidth;
|
||||
ConnectorHeight = viewmodel.ConnectorHeight;
|
||||
PhysicalConnectorWidth = viewmodel.PhysicalConnectorWidth;
|
||||
PhysicalConnectorHeight = viewmodel.PhysicalConnectorHeight;
|
||||
Orientation = viewmodel.Orientation;
|
||||
ConnectorValue = viewmodel.ConnectorValue;
|
||||
}
|
||||
|
||||
|
||||
[XmlAttribute]
|
||||
public double ConnectorWidth
|
||||
public double PhysicalConnectorWidth
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public double ConnectorHeight
|
||||
public double PhysicalConnectorHeight
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
@@ -47,11 +46,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public double ConnectorValue
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user