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,
|
|
|
|
|
|
double targetMarkerAngle, PointBase targetMarkerPosition)
|
2023-01-08 09:22:37 +08:00
|
|
|
|
{
|
|
|
|
|
|
Paths = paths;
|
|
|
|
|
|
SourceMarkerAngle = sourceMarkerAngle;
|
|
|
|
|
|
SourceMarkerPosition = sourceMarkerPosition;
|
|
|
|
|
|
TargetMarkerAngle = targetMarkerAngle;
|
|
|
|
|
|
TargetMarkerPosition = targetMarkerPosition;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string[] Paths { get; }
|
2023-01-15 11:59:51 +08:00
|
|
|
|
public double SourceMarkerAngle { get; }
|
|
|
|
|
|
public PointBase SourceMarkerPosition { get; }
|
|
|
|
|
|
public double TargetMarkerAngle { get; }
|
|
|
|
|
|
public PointBase TargetMarkerPosition { get; }
|
2023-01-08 09:22:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|