Browse Source

cleanup

pull/908/head
Anton Firszov 7 years ago
parent
commit
24de58ab09
  1. 3
      src/ImageSharp/Processing/Processors/Binarization/BinaryOrderedDitherProcessor.cs
  2. 4
      src/ImageSharp/Processing/Processors/Binarization/BinaryThresholdProcessor.cs
  3. 2
      src/ImageSharp/Processing/Processors/Overlays/BackgroundColorProcessor.cs
  4. 1
      src/ImageSharp/Processing/Processors/Overlays/GlowProcessor.cs

3
src/ImageSharp/Processing/Processors/Binarization/BinaryOrderedDitherProcessor.cs

@ -8,6 +8,9 @@ using SixLabors.ImageSharp.Processing.Processors.Dithering;
namespace SixLabors.ImageSharp.Processing.Processors.Binarization namespace SixLabors.ImageSharp.Processing.Processors.Binarization
{ {
/// <summary>
/// Defines a binary threshold filtering using ordered dithering.
/// </summary>
public class BinaryOrderedDitherProcessor : IImageProcessor public class BinaryOrderedDitherProcessor : IImageProcessor
{ {
/// <summary> /// <summary>

4
src/ImageSharp/Processing/Processors/Binarization/BinaryThresholdProcessor.cs

@ -41,12 +41,12 @@ namespace SixLabors.ImageSharp.Processing.Processors.Binarization
public float Threshold { get; } public float Threshold { get; }
/// <summary> /// <summary>
/// Gets or sets the color to use for pixels that are above the threshold. /// Gets the color to use for pixels that are above the threshold.
/// </summary> /// </summary>
public Color UpperColor { get; } public Color UpperColor { get; }
/// <summary> /// <summary>
/// Gets or sets the color to use for pixels that fall below the threshold. /// Gets the color to use for pixels that fall below the threshold.
/// </summary> /// </summary>
public Color LowerColor { get; } public Color LowerColor { get; }

2
src/ImageSharp/Processing/Processors/Overlays/BackgroundColorProcessor.cs

@ -6,7 +6,7 @@ using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Processors.Overlays namespace SixLabors.ImageSharp.Processing.Processors.Overlays
{ {
/// <summary> /// <summary>
/// Defines a processing operation to replace the background color of an <see cref="Image"/>. /// Defines a processing operation to replace the background color of an <see cref="Image"/>.
/// </summary> /// </summary>
public sealed class BackgroundColorProcessor : IImageProcessor public sealed class BackgroundColorProcessor : IImageProcessor
{ {

1
src/ImageSharp/Processing/Processors/Overlays/GlowProcessor.cs

@ -20,7 +20,6 @@ namespace SixLabors.ImageSharp.Processing.Processors.Overlays
{ {
} }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="GlowProcessor" /> class. /// Initializes a new instance of the <see cref="GlowProcessor" /> class.
/// </summary> /// </summary>

Loading…
Cancel
Save