Skip to content

Commit 3f74603

Browse files
Cleanup docs
1 parent d3e28a3 commit 3f74603

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/ImageSharp.Drawing/Shapes/PathBuilder.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -329,15 +329,15 @@ public PathBuilder ArcTo(float radiusX, float radiusY, float rotation, bool larg
329329
}
330330

331331
var center = Vector2.Lerp(start, point, .5F);
332-
foreach (ILineSegment item in EllipticArcToBezierCurveInner(start, center, new(radiusX, radiusY), rotation, startAngle, sweepAngle))
332+
foreach (ILineSegment segment in EllipticArcToBezierCurveInner(start, center, new(radiusX, radiusY), rotation, startAngle, sweepAngle))
333333
{
334-
this.AddSegment(item);
334+
this.AddSegment(segment);
335335
}
336336

337337
return this;
338338

339339
// TODO: Fix this.
340-
// return this.AddEllipticalArc(center, radiusX, radiusY, rotation, startAngle, sweepAngle);
340+
return this.AddEllipticalArc(center, radiusX, radiusY, rotation, startAngle, sweepAngle);
341341
}
342342

343343
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -443,7 +443,7 @@ public PathBuilder AddEllipticalArc(Rectangle rect, int rotation, int startAngle
443443
/// <summary>
444444
/// Adds an elliptical arc to the current figure.
445445
/// </summary>
446-
/// <param name="center"> The center <see cref="PointF"/> of the ellips from which the arc is taken.</param>
446+
/// <param name="center"> The center <see cref="PointF"/> of the ellipse from which the arc is taken.</param>
447447
/// <param name="radiusX">X radius of the ellipsis.</param>
448448
/// <param name="radiusY">Y radius of the ellipsis.</param>
449449
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis, measured in degrees clockwise.</param>
@@ -456,7 +456,7 @@ public PathBuilder AddEllipticalArc(PointF center, float radiusX, float radiusY,
456456
/// <summary>
457457
/// Adds an elliptical arc to the current figure.
458458
/// </summary>
459-
/// <param name="center"> The center <see cref="Point"/> of the ellips from which the arc is taken.</param>
459+
/// <param name="center"> The center <see cref="Point"/> of the ellipse from which the arc is taken.</param>
460460
/// <param name="radiusX">X radius of the ellipsis.</param>
461461
/// <param name="radiusY">Y radius of the ellipsis.</param>
462462
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis, measured in degrees clockwise.</param>
@@ -469,8 +469,8 @@ public PathBuilder AddEllipticalArc(Point center, int radiusX, int radiusY, int
469469
/// <summary>
470470
/// Adds an elliptical arc to the current figure.
471471
/// </summary>
472-
/// <param name="x"> The x-coordinate of the center point of the ellips from which the arc is taken.</param>
473-
/// <param name="y"> The y-coordinate of the center point of the ellips from which the arc is taken.</param>
472+
/// <param name="x"> The x-coordinate of the center point of the ellipse from which the arc is taken.</param>
473+
/// <param name="y"> The y-coordinate of the center point of the ellipse from which the arc is taken.</param>
474474
/// <param name="radiusX">X radius of the ellipsis.</param>
475475
/// <param name="radiusY">Y radius of the ellipsis.</param>
476476
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis, measured in degrees clockwise.</param>
@@ -483,8 +483,8 @@ public PathBuilder AddEllipticalArc(int x, int y, int radiusX, int radiusY, int
483483
/// <summary>
484484
/// Adds an elliptical arc to the current figure.
485485
/// </summary>
486-
/// <param name="x"> The x-coordinate of the center point of the ellips from which the arc is taken.</param>
487-
/// <param name="y"> The y-coordinate of the center point of the ellips from which the arc is taken.</param>
486+
/// <param name="x"> The x-coordinate of the center point of the ellipse from which the arc is taken.</param>
487+
/// <param name="y"> The y-coordinate of the center point of the ellipse from which the arc is taken.</param>
488488
/// <param name="radiusX">X radius of the ellipsis.</param>
489489
/// <param name="radiusY">Y radius of the ellipsis.</param>
490490
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis, measured in degrees clockwise.</param>

0 commit comments

Comments
 (0)