07-05-2020, 09:57 AM
Hi,
In an effort to simplify the API, that method got deprecated in version 6.4.0 and removed in version 7.0.0
Here is it's content. It's all public code, so you can just copy the code and use it wherever you want:
public CurvySpline NextSpline
{
get
{
CurvySplineSegment cp = LastVisibleControlPoint;
return (cp && cp.FollowUp) ? cp.FollowUp.Spline : null;
}
}
Even simpler, if you are sure that LastVisibleControlPoint is not null and LastVisibleControlPoint.FollowUp is not null neither, you can simply replace the implementation with this line: LastVisibleControlPoint.FollowUp.Spline
Have a nice day
In an effort to simplify the API, that method got deprecated in version 6.4.0 and removed in version 7.0.0
Here is it's content. It's all public code, so you can just copy the code and use it wherever you want:
public CurvySpline NextSpline
{
get
{
CurvySplineSegment cp = LastVisibleControlPoint;
return (cp && cp.FollowUp) ? cp.FollowUp.Spline : null;
}
}
Even simpler, if you are sure that LastVisibleControlPoint is not null and LastVisibleControlPoint.FollowUp is not null neither, you can simply replace the implementation with this line: LastVisibleControlPoint.FollowUp.Spline
Have a nice day
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance workâfeel free to reach out.
Available for freelance workâfeel free to reach out.