diff --git a/src/ImageSharp/PixelFormats/PixelBlender{TPixel}.cs b/src/ImageSharp/PixelFormats/PixelBlender{TPixel}.cs
index 6f3f56d3d..1d3ccf6ee 100644
--- a/src/ImageSharp/PixelFormats/PixelBlender{TPixel}.cs
+++ b/src/ImageSharp/PixelFormats/PixelBlender{TPixel}.cs
@@ -27,38 +27,6 @@ namespace SixLabors.ImageSharp.PixelFormats
/// The final pixel value after composition.
public abstract TPixel Blend(TPixel background, TPixel source, float amount);
- ///
- /// Blend 2 rows together.
- ///
- /// destination span
- /// the background span
- /// the source span
- ///
- /// A value between 0 and 1 indicating the weight of the second source vector.
- /// At amount = 0, "background" is returned, at amount = 1, "source" is returned.
- ///
- protected abstract void BlendFunction(
- Span destination,
- ReadOnlySpan background,
- ReadOnlySpan source,
- float amount);
-
- ///
- /// Blend 2 rows together.
- ///
- /// destination span
- /// the background span
- /// the source span
- ///
- /// A span with values between 0 and 1 indicating the weight of the second source vector.
- /// At amount = 0, "background" is returned, at amount = 1, "source" is returned.
- ///
- protected abstract void BlendFunction(
- Span destination,
- ReadOnlySpan background,
- ReadOnlySpan source,
- ReadOnlySpan amount);
-
///
/// Blends 2 rows together
///
@@ -76,9 +44,7 @@ namespace SixLabors.ImageSharp.PixelFormats
ReadOnlySpan background,
ReadOnlySpan source,
ReadOnlySpan amount)
- {
- this.Blend(configuration, destination, background, source, amount);
- }
+ => this.Blend(configuration, destination, background, source, amount);
///
/// Blends 2 rows together
@@ -165,5 +131,37 @@ namespace SixLabors.ImageSharp.PixelFormats
PixelOperations.Instance.FromVector4Destructive(configuration, sourceVectors, destination, PixelConversionModifiers.Scale);
}
}
+
+ ///
+ /// Blend 2 rows together.
+ ///
+ /// destination span
+ /// the background span
+ /// the source span
+ ///
+ /// A value between 0 and 1 indicating the weight of the second source vector.
+ /// At amount = 0, "background" is returned, at amount = 1, "source" is returned.
+ ///
+ protected abstract void BlendFunction(
+ Span destination,
+ ReadOnlySpan background,
+ ReadOnlySpan source,
+ float amount);
+
+ ///
+ /// Blend 2 rows together.
+ ///
+ /// destination span
+ /// the background span
+ /// the source span
+ ///
+ /// A span with values between 0 and 1 indicating the weight of the second source vector.
+ /// At amount = 0, "background" is returned, at amount = 1, "source" is returned.
+ ///
+ protected abstract void BlendFunction(
+ Span destination,
+ ReadOnlySpan background,
+ ReadOnlySpan source,
+ ReadOnlySpan amount);
}
}