使用PointBase代替Point

This commit is contained in:
艾竹
2023-01-08 09:22:37 +08:00
parent 8fc69bc96d
commit 5d7717cc2b
65 changed files with 4317 additions and 403 deletions

View File

@@ -0,0 +1,23 @@
using AIStudio.Wpf.DiagramDesigner.Geometry;
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; }
}
}