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-01-15 11:59:51 +08:00
|
|
|
|
public static readonly Dictionary<ArrowPathStyle, string> Arrow = new Dictionary<ArrowPathStyle, string>()
|
2021-07-23 09:42:22 +08:00
|
|
|
|
{
|
2023-01-15 11:59:51 +08:00
|
|
|
|
{ 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" },
|
2021-07-23 09:42:22 +08:00
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|