mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 08:26:36 +08:00
线条动画支持大小切换
This commit is contained in:
@@ -6,12 +6,12 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
public class ArrowPathData
|
||||
{
|
||||
public static readonly Dictionary<ArrowPathStyle, string> Arrow = new Dictionary<ArrowPathStyle, string>()
|
||||
public static readonly Dictionary<PathStyle, string> Arrow = new Dictionary<PathStyle, string>()
|
||||
{
|
||||
{ ArrowPathStyle.None, "" },
|
||||
{ ArrowPathStyle.Arrow, "M 0 -5 10 0 0 5 z" },
|
||||
{ ArrowPathStyle.Circle, "M 0, 0 a 5,5 0 1,0 10,0 a 5,5 0 1,0 -10,0" },
|
||||
{ ArrowPathStyle.Square, "M 0 -5 10 -5 10 5 0 5 z" },
|
||||
{ PathStyle.None, "" },
|
||||
{ PathStyle.Arrow, "M 0 -5 10 0 0 5 z" },
|
||||
{ PathStyle.Circle, "M 0, 0 a 5,5 0 1,0 10,0 a 5,5 0 1,0 -10,0" },
|
||||
{ PathStyle.Square, "M 0 -5 10 -5 10 5 0 5 z" },
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user