为线的动画做扩展准备

This commit is contained in:
艾竹
2023-04-29 15:29:22 +08:00
parent 7d8b19e4e0
commit f4268b9fc2
23 changed files with 397 additions and 120 deletions

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace AIStudio.Wpf.DiagramDesigner
{
public interface IAnimationViewModel
{
LineAnimation LineAnimation
{
get; set;
}
double Duration
{
get; set;
}
Color Color
{
get; set;
}
string Path
{
get; set;
}
double Width
{
get; set;
}
double Height
{
get; set;
}
event PropertyChangedEventHandler PropertyChanged;
}
}

View File

@@ -28,15 +28,7 @@ namespace AIStudio.Wpf.DiagramDesigner
LineDashStyle LineDashStyle
{
get; set;
}
LineAnimation LineAnimation
{
get; set;
}
double LineAnimationDuration
{
get; set;
}
}
event PropertyChangedEventHandler PropertyChanged;
}
}

View File

@@ -7,12 +7,12 @@ namespace AIStudio.Wpf.DiagramDesigner
{
public interface IShapeViewModel
{
ILinkMarker SourceMarker
ISharpPath SourceMarker
{
get; set;
}
ILinkMarker SinkMarker
ISharpPath SinkMarker
{
get; set;
}