@ -68,7 +68,7 @@ namespace ImageSharp.Drawing.Paths
/// <returns>
/// Returns the current <see cref="ILineSegment" /> as simple linear path.
/// </returns>
public IEnumerable<Vector2> AsSimpleLinearPath()
public Vector2[] AsSimpleLinearPath()
{
return this.linePoints;
}
@ -20,6 +20,6 @@ namespace ImageSharp.Drawing.Paths
/// Converts the <see cref="ILineSegment" /> into a simple linear path..
/// </summary>
/// <returns>Returns the current <see cref="ILineSegment" /> as simple linear path.</returns>
IEnumerable<Vector2> AsSimpleLinearPath();
Vector2[] AsSimpleLinearPath(); // TODO move this over to ReadonlySpan<Vector2> once availible
@ -75,7 +75,7 @@ namespace ImageSharp.Drawing.Paths
return this.points;
@ -60,7 +60,7 @@ namespace ImageSharp.Drawing.Paths
return this.innerPath.Points;
@ -126,7 +126,7 @@ namespace ImageSharp.Drawing.Shapes