Browse Source

change comment

pull/1000/head
ip75 7 years ago
parent
commit
4c2ed503d6
  1. 7
      src/ImageSharp/Processing/Extensions/LightnessExtension.cs

7
src/ImageSharp/Processing/Extensions/LightnessExtension.cs

@ -6,13 +6,12 @@ using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing namespace SixLabors.ImageSharp.Processing
{ {
/// <summary> /// <summary>
/// Defines extensions that allow the alteration of the hue component of an <see cref="Image"/> /// Defines extensions that allow to change image lightness in terms of HSL.
/// using Mutate/Clone.
/// </summary> /// </summary>
public static class LightnessExtension public static class LightnessExtension
{ {
/// <summary> /// <summary>
/// Alters the hue component of the image. /// Alters the lightness parameter of the image.
/// </summary> /// </summary>
/// <param name="source">The image this method extends.</param> /// <param name="source">The image this method extends.</param>
/// <param name="lightness">Lightness parameter of image in HSL color scheme.</param> /// <param name="lightness">Lightness parameter of image in HSL color scheme.</param>
@ -21,7 +20,7 @@ namespace SixLabors.ImageSharp.Processing
=> source.ApplyProcessor(new LightnessProcessor(lightness)); => source.ApplyProcessor(new LightnessProcessor(lightness));
/// <summary> /// <summary>
/// Alters the hue component of the image. /// Alters the lightness parameter of the image.
/// </summary> /// </summary>
/// <param name="source">The image this method extends.</param> /// <param name="source">The image this method extends.</param>
/// <param name="lightness">Lightness parameter of image in HSL color scheme.</param> /// <param name="lightness">Lightness parameter of image in HSL color scheme.</param>

Loading…
Cancel
Save