Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramDesigner/Paths/ArrowPathData.cs

18 lines
524 B
C#
Raw Normal View History

2021-07-23 09:42:22 +08:00
using System;
using System.Collections.Generic;
using System.Text;
2022-10-28 22:45:39 +08:00
namespace AIStudio.Wpf.DiagramDesigner
2021-07-23 09:42:22 +08:00
{
public class ArrowPathData
{
2023-04-29 18:36:50 +08:00
public static readonly Dictionary<PathStyle, string> Arrow = new Dictionary<PathStyle, string>()
2021-07-23 09:42:22 +08:00
{
2023-04-29 18:36:50 +08:00
{ 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" },
2021-07-23 09:42:22 +08:00
};
}
}