You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ImageSharp.Drawing/Shapes/EllipticalArcLineSegment.cs
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,8 @@ public sealed class EllipticalArcLineSegment : ILineSegment
15
15
{
16
16
privateconstfloatMinimumSqrDistance=1.75f;
17
17
privatereadonlyPointF[]linePoints;
18
-
privatePointFcenter;
18
+
privatereadonlyfloatx;
19
+
privatereadonlyfloaty;
19
20
privatereadonlyfloatradiusX;
20
21
privatereadonlyfloatradiusY;
21
22
privatereadonlyfloatrotation;
@@ -26,18 +27,20 @@ public sealed class EllipticalArcLineSegment : ILineSegment
26
27
/// <summary>
27
28
/// Initializes a new instance of the <see cref="EllipticalArcLineSegment"/> class.
28
29
/// </summary>
29
-
/// <param name="center"> The center point of the ellipsis the arc is a part of.</param>
30
+
/// <param name="x"> The x-coordinate of the center point of the ellips from which the arc is taken.</param>
31
+
/// <param name="y"> The y-coordinate of the center point of the ellips from which the arc is taken.</param>
30
32
/// <param name="radiusX">X radius of the ellipsis.</param>
31
33
/// <param name="radiusY">Y radius of the ellipsis.</param>
32
-
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis,measured in degrees anticlockwise.</param>
34
+
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis,measured in degrees anticlockwise.</param>
33
35
/// <param name="startAngle">The Start angle of the ellipsis, measured in degrees anticlockwise from the Y-axis.</param>
34
36
/// <param name="sweepAngle"> The angle between (<paramref name="startAngle"/> and the end of the arc. </param>
35
37
/// <param name="transformation">The Tranformation matrix, that should be used on the arc.</param>
/// <param name="center"> The center point of the ellips from which the arc is taken.</param>
216
+
/// <param name="radiusX">X radius of the ellipsis.</param>
217
+
/// <param name="radiusY">Y radius of the ellipsis.</param>
218
+
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis, measured in degrees anticlockwise.</param>
219
+
/// <param name="startAngle">The Start angle of the ellipsis, measured in degrees anticlockwise from the Y-axis.</param>
220
+
/// <param name="sweepAngle"> The angle between (<paramref name="startAngle"/> and the end of the arc. </param>
/// <param name="x"> The x-coordinate of the center point of the ellips from which the arc is taken.</param>
228
+
/// <param name="y"> The y-coordinate of the center point of the ellips from which the arc is taken.</param>
206
229
/// <param name="radiusX">X radius of the ellipsis.</param>
207
230
/// <param name="radiusY">Y radius of the ellipsis.</param>
208
-
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis,measured in degrees anticlockwise.</param>
231
+
/// <param name="rotation">The rotation of (<paramref name="radiusX"/> to the X-axis and (<paramref name="radiusY"/> to the Y-axis,measured in degrees anticlockwise.</param>
209
232
/// <param name="startAngle">The Start angle of the ellipsis, measured in degrees anticlockwise from the Y-axis.</param>
210
233
/// <param name="sweepAngle"> The angle between (<paramref name="startAngle"/> and the end of the arc. </param>
0 commit comments