From b083eb26f5b80f5461ff4029601a26d823afe7ff Mon Sep 17 00:00:00 2001 From: robloo Date: Sun, 30 Apr 2023 12:22:39 -0400 Subject: [PATCH] Update HslColor property comments These were desynced from HsvColor so instead of copy/pasting again HslColor now inherits the docs where possible directly from HsvColor. --- src/Avalonia.Base/Media/HslColor.cs | 36 +++-------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/src/Avalonia.Base/Media/HslColor.cs b/src/Avalonia.Base/Media/HslColor.cs index b4bf6fd217..897c883875 100644 --- a/src/Avalonia.Base/Media/HslColor.cs +++ b/src/Avalonia.Base/Media/HslColor.cs @@ -98,43 +98,13 @@ namespace Avalonia.Media L = hsl.L; } - /// - /// Gets the Alpha (transparency) component in the range from 0..1 (percentage). - /// - /// - /// - /// 0 is fully transparent. - /// 1 is fully opaque. - /// - /// + /// public double A { get; } - /// - /// Gets the Hue component in the range from 0..360 (degrees). - /// This is the color's location, in degrees, on a color wheel/circle from 0 to 360. - /// Note that 360 is equivalent to 0 and will be adjusted automatically. - /// - /// - /// - /// 0/360 degrees is Red. - /// 60 degrees is Yellow. - /// 120 degrees is Green. - /// 180 degrees is Cyan. - /// 240 degrees is Blue. - /// 300 degrees is Magenta. - /// - /// + /// public double H { get; } - /// - /// Gets the Saturation component in the range from 0..1 (percentage). - /// - /// - /// - /// 0 is a shade of gray (no color). - /// 1 is the full color. - /// - /// + /// public double S { get; } ///