mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-13 12:46:36 +08:00
删除多余的
This commit is contained in:
@@ -5,14 +5,13 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
public class PathGeneratorResult
|
||||
{
|
||||
public PathGeneratorResult(string[] paths, double sourceMarkerAngle, PointBase sourceMarkerPosition,
|
||||
double targetMarkerAngle, PointBase targetMarkerPosition, PointBase[] route)
|
||||
double targetMarkerAngle, PointBase targetMarkerPosition)
|
||||
{
|
||||
Paths = paths;
|
||||
SourceMarkerAngle = sourceMarkerAngle;
|
||||
SourceMarkerPosition = sourceMarkerPosition;
|
||||
TargetMarkerAngle = targetMarkerAngle;
|
||||
TargetMarkerPosition = targetMarkerPosition;
|
||||
Route = route;
|
||||
}
|
||||
|
||||
public string[] Paths
|
||||
@@ -42,20 +41,5 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
public PointBase[] Route
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
public PointBase Last1
|
||||
{
|
||||
get => Route[Route.Length - 1];
|
||||
}
|
||||
|
||||
public PointBase Last2
|
||||
{
|
||||
get => Route[Route.Length - 2];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user