Skip to content

Commit 6a16b0c

Browse files
committed
added documentation
1 parent 64479de commit 6a16b0c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/ImageSharp.Drawing/Shapes/PathBuilder.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,16 @@ public PathBuilder AddBezier(PointF startPoint, PointF controlPoint1, PointF con
199199
return this;
200200
}
201201

202+
/// <summary>
203+
/// Adds a elliptical arc to the current figure
204+
/// </summary>
205+
/// <param name="center">center point of the arc</param>
206+
/// <param name="firstRadius">first radius</param>
207+
/// <param name="secondRadius">second radius</param>
208+
/// <param name="rotation">rotation of the first radius to the x Axis</param>
209+
/// <param name="startAngle">starting angle of arc</param>
210+
/// <param name="sweepAngle">sweeping angel of the arc</param>
211+
/// <returns>The <see cref="PathBuilder"/></returns>
202212
public PathBuilder AddEllipticalArc(PointF center, float firstRadius, float secondRadius, float rotation, float startAngle, float sweepAngle)
203213
{
204214
EllipticalArcLineSegment arc = new EllipticalArcLineSegment(center, firstRadius, secondRadius, rotation, startAngle, sweepAngle);

0 commit comments

Comments
 (0)