diff --git a/src/Artemis.Core/Services/ColorQuantizer/ColorQuantizerService.cs b/src/Artemis.Core/Services/ColorQuantizer/ColorQuantizerService.cs index c90260f57..3463010ba 100644 --- a/src/Artemis.Core/Services/ColorQuantizer/ColorQuantizerService.cs +++ b/src/Artemis.Core/Services/ColorQuantizer/ColorQuantizerService.cs @@ -1,5 +1,4 @@ -using Artemis.Core.Services.Interfaces; -using SkiaSharp; +using SkiaSharp; using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Artemis.Core/Services/ColorQuantizer/ColorType.cs b/src/Artemis.Core/Services/ColorQuantizer/ColorType.cs index e6f598a50..9efab68e3 100644 --- a/src/Artemis.Core/Services/ColorQuantizer/ColorType.cs +++ b/src/Artemis.Core/Services/ColorQuantizer/ColorType.cs @@ -1,12 +1,38 @@ namespace Artemis.Core.Services { + /// + /// The types of relevant colors in an image. + /// public enum ColorType { + /// + /// Represents a saturated color. + /// Vibrant, + + /// + /// Represents a saturated and light color. + /// LightVibrant, + + /// + /// Represents a saturated and dark color. + /// DarkVibrant, + + /// + /// Represents a desaturated color. + /// Muted, + + /// + /// Represents a desaturated and light color. + /// LightMuted, + + /// + /// Represents a desaturated and dark color. + /// DarkMuted } } \ No newline at end of file diff --git a/src/Artemis.Core/Services/ColorQuantizer/Interfaces/IColorQuantizerService.cs b/src/Artemis.Core/Services/ColorQuantizer/Interfaces/IColorQuantizerService.cs index e5690867c..6b0971684 100644 --- a/src/Artemis.Core/Services/ColorQuantizer/Interfaces/IColorQuantizerService.cs +++ b/src/Artemis.Core/Services/ColorQuantizer/Interfaces/IColorQuantizerService.cs @@ -1,7 +1,7 @@ using SkiaSharp; using System.Collections.Generic; -namespace Artemis.Core.Services.Interfaces +namespace Artemis.Core.Services { /// /// A service providing a pallette of colors in a bitmap based on vibrant.js @@ -23,7 +23,7 @@ namespace Artemis.Core.Services.Interfaces /// /// The colors to find the variations in /// Which type of color to find - /// Ignore hard limits on whether a color is considered for each category. Result may be if this is true + /// Ignore hard limits on whether a color is considered for each category. Result may be if this is false /// The color found public SKColor FindColorVariation(IEnumerable colors, ColorType type, bool ignoreLimits = false); }