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
|
|
|
|
|
|
{
|
|
|
|
|
|
public PathGeneratorResult(string[] paths, double? sourceMarkerAngle = null, PointBase? sourceMarkerPosition = null,
|
|
|
|
|
|
double? targetMarkerAngle = null, PointBase? targetMarkerPosition = null)
|
|
|
|
|
|
{
|
|
|
|
|
|
Paths = paths;
|
|
|
|
|
|
SourceMarkerAngle = sourceMarkerAngle;
|
|
|
|
|
|
SourceMarkerPosition = sourceMarkerPosition;
|
|
|
|
|
|
TargetMarkerAngle = targetMarkerAngle;
|
|
|
|
|
|
TargetMarkerPosition = targetMarkerPosition;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string[] Paths { get; }
|
|
|
|
|
|
public double? SourceMarkerAngle { get; }
|
|
|
|
|
|
public PointBase? SourceMarkerPosition { get; }
|
|
|
|
|
|
public double? TargetMarkerAngle { get; }
|
|
|
|
|
|
public PointBase? TargetMarkerPosition { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|