mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-19 16:06:35 +08:00
线条动画支持大小切换
This commit is contained in:
@@ -419,7 +419,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
public class AnimationItem : IAnimationViewModel
|
||||
{
|
||||
[XmlAttribute]
|
||||
public LineAnimation LineAnimation
|
||||
public LineAnimation Animation
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
@@ -434,7 +434,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
public Color Color
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
[XmlElement("Color")]
|
||||
@@ -450,22 +450,24 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public string Path
|
||||
[XmlIgnore]
|
||||
public ISharpPath AnimationPath
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public double Width
|
||||
[JsonIgnore]
|
||||
[XmlElement("AnimationPath")]
|
||||
public SharpPathItem XmlAnimationPath
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public double Height
|
||||
{
|
||||
get; set;
|
||||
get
|
||||
{
|
||||
return AnimationPath as SharpPathItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
AnimationPath = value;
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -871,13 +873,13 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public ArrowPathStyle PathStyle
|
||||
public PathStyle PathStyle
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public ArrowSizeStyle SizeStyle
|
||||
public SizeStyle SizeStyle
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user