File tree Expand file tree Collapse file tree
graphics/src/geometry/path Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ pub struct Arc {
88 pub center : Point ,
99 /// The radius of the arc.
1010 pub radius : f32 ,
11- /// The start of the segment's angle, clockwise rotation.
11+ /// The start of the segment's angle in radians , clockwise rotation from positive x-axis .
1212 pub start_angle : f32 ,
13- /// The end of the segment's angle, clockwise rotation.
13+ /// The end of the segment's angle in radians , clockwise rotation from positive x-axis .
1414 pub end_angle : f32 ,
1515}
1616
@@ -19,13 +19,13 @@ pub struct Arc {
1919pub struct Elliptical {
2020 /// The center of the arc.
2121 pub center : Point ,
22- /// The radii of the arc's ellipse, defining its axes .
22+ /// The radii of the arc's ellipse. The horizontal and vertical half-dimensions of the ellipse will match the x and y values of the radii vector .
2323 pub radii : Vector ,
24- /// The rotation of the arc's ellipse.
24+ /// The clockwise rotation of the arc's ellipse.
2525 pub rotation : f32 ,
26- /// The start of the segment's angle, clockwise rotation.
26+ /// The start of the segment's angle in radians , clockwise rotation from positive x-axis .
2727 pub start_angle : f32 ,
28- /// The end of the segment's angle, clockwise rotation.
28+ /// The end of the segment's angle in radians , clockwise rotation from positive x-axis .
2929 pub end_angle : f32 ,
3030}
3131
You can’t perform that action at this time.
0 commit comments