diff --git a/src/SixLabors.Shapes/Path.cs b/src/SixLabors.Shapes/Path.cs index b44d8cb..557ccdf 100644 --- a/src/SixLabors.Shapes/Path.cs +++ b/src/SixLabors.Shapes/Path.cs @@ -166,7 +166,7 @@ namespace SixLabors.Shapes /// public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) { - return this.InnerPath.FindIntersections(start, end, buffer); + return this.InnerPath.FindIntersections(start, end, buffer.AsSpan(offset)); } ///