diff --git a/src/ImageSharp.Drawing/Brushes/SolidBrush{TPixel}.cs b/src/ImageSharp.Drawing/Brushes/SolidBrush{TPixel}.cs index f97266c77d..a18f8de1d7 100644 --- a/src/ImageSharp.Drawing/Brushes/SolidBrush{TPixel}.cs +++ b/src/ImageSharp.Drawing/Brushes/SolidBrush{TPixel}.cs @@ -41,31 +41,7 @@ namespace ImageSharp.Drawing.Brushes /// public BrushApplicator CreateApplicator(PixelAccessor sourcePixels, RectangleF region, GraphicsOptions options) { - if (options.BlendPercentage < 0) - { - return new SolidBrushApplicator(sourcePixels, this.color, options); - } - else - { - return new SolidNoBlendBrushApplicator(sourcePixels, this.color, options); - } - } - - /// - /// The solid brush applicator. - /// - private class SolidNoBlendBrushApplicator : SolidBrushApplicator - { - public SolidNoBlendBrushApplicator(PixelAccessor sourcePixels, TPixel color, GraphicsOptions options) - : base(sourcePixels, color, options) - { - } - - internal override void Apply(BufferSpan scanline, int x, int y) - { - BufferSpan destinationRow = this.Target.GetRowSpan(x, y).Slice(0, scanline.Length); - this.Blender.Compose(destinationRow, destinationRow, this.Colors, scanline); - } + return new SolidBrushApplicator(sourcePixels, this.color, options); } ///