mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-04 00:35:46 +08:00
mind
This commit is contained in:
@@ -59,6 +59,8 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
this.PhysicalItemWidth = designer.PhysicalItemWidth;
|
||||
this.PhysicalItemHeight = designer.PhysicalItemHeight;
|
||||
this.Icon = designer.Icon;
|
||||
this.CornerRadius = designer.CornerRadius;
|
||||
this.BorderThickness = designer.BorderThickness;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -473,6 +475,32 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
|
||||
private CornerRadius _cornerRadius = new CornerRadius(3);
|
||||
public CornerRadius CornerRadius
|
||||
{
|
||||
get
|
||||
{
|
||||
return _cornerRadius;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _cornerRadius, value);
|
||||
}
|
||||
}
|
||||
|
||||
private Thickness _borderThickness = new Thickness(1);
|
||||
public Thickness BorderThickness
|
||||
{
|
||||
get
|
||||
{
|
||||
return _borderThickness;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _borderThickness, value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 连接点是否可以按偏移自定义
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user