From 4c2cba19ff97949d8495c2e68d45c95c211852f6 Mon Sep 17 00:00:00 2001 From: robloo Date: Sun, 3 Apr 2022 13:27:55 -0400 Subject: [PATCH] Specify the angle units in comments --- src/Avalonia.Visuals/Media/StreamGeometryContext.cs | 4 ++-- src/Avalonia.Visuals/Platform/IGeometryContext.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Avalonia.Visuals/Media/StreamGeometryContext.cs b/src/Avalonia.Visuals/Media/StreamGeometryContext.cs index 88aba8365e..ed6065eae4 100644 --- a/src/Avalonia.Visuals/Media/StreamGeometryContext.cs +++ b/src/Avalonia.Visuals/Media/StreamGeometryContext.cs @@ -41,7 +41,7 @@ namespace Avalonia.Media /// /// The destination point. /// The radii of an oval whose perimeter is used to draw the angle. - /// The rotation angle of the oval that specifies the curve. + /// The rotation angle (in radians) of the oval that specifies the curve. /// true to draw the arc greater than 180 degrees; otherwise, false. /// /// A value that indicates whether the arc is drawn in the Clockwise or Counterclockwise direction. @@ -59,7 +59,7 @@ namespace Avalonia.Media /// /// The destination point. /// The radii of an oval whose perimeter is used to draw the angle. - /// The rotation angle of the oval that specifies the curve. + /// The rotation angle (in radians) of the oval that specifies the curve. /// true to draw the arc greater than 180 degrees; otherwise, false. /// /// A value that indicates whether the arc is drawn in the Clockwise or Counterclockwise direction. diff --git a/src/Avalonia.Visuals/Platform/IGeometryContext.cs b/src/Avalonia.Visuals/Platform/IGeometryContext.cs index 3f7273b53b..87db9f1dd4 100644 --- a/src/Avalonia.Visuals/Platform/IGeometryContext.cs +++ b/src/Avalonia.Visuals/Platform/IGeometryContext.cs @@ -13,7 +13,7 @@ namespace Avalonia.Platform /// /// The destination point. /// The radii of an oval whose perimeter is used to draw the angle. - /// The rotation angle of the oval that specifies the curve. + /// The rotation angle (in radians) of the oval that specifies the curve. /// true to draw the arc greater than 180 degrees; otherwise, false. /// /// A value that indicates whether the arc is drawn in the Clockwise or Counterclockwise direction. @@ -60,4 +60,4 @@ namespace Avalonia.Platform /// The fill rule. void SetFillRule(FillRule fillRule); } -} \ No newline at end of file +}