Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramDesigner/PathGenerators/PathGeneratorResult.cs

46 lines
1.1 KiB
C#
Raw Normal View History

2023-01-12 23:02:53 +08:00
using AIStudio.Wpf.DiagramDesigner.Geometrys;
2023-01-08 09:22:37 +08:00
namespace AIStudio.Wpf.DiagramDesigner
{
public class PathGeneratorResult
{
2023-01-15 11:59:51 +08:00
public PathGeneratorResult(string[] paths, double sourceMarkerAngle, PointBase sourceMarkerPosition,
2023-02-04 12:19:08 +08:00
double targetMarkerAngle, PointBase targetMarkerPosition)
2023-01-08 09:22:37 +08:00
{
Paths = paths;
SourceMarkerAngle = sourceMarkerAngle;
SourceMarkerPosition = sourceMarkerPosition;
TargetMarkerAngle = targetMarkerAngle;
TargetMarkerPosition = targetMarkerPosition;
}
2023-02-04 11:16:39 +08:00
public string[] Paths
{
get;
}
public double SourceMarkerAngle
{
get;
}
/// <summary>
/// SourceMarker左上角的点
/// </summary>
public PointBase SourceMarkerPosition
{
get;
}
public double TargetMarkerAngle
{
get;
}
/// <summary>
/// TargetMarker左上角的点
/// </summary>
public PointBase TargetMarkerPosition
{
get;
}
2023-01-08 09:22:37 +08:00
}
}