diff --git a/src/ImageSharp/PixelFormats/PixelBlenders/AssociatedAlphaPixelBlenders.Generated.cs b/src/ImageSharp/PixelFormats/PixelBlenders/AssociatedAlphaPixelBlenders.Generated.cs
index d31e07c62..acd9fba9c 100644
--- a/src/ImageSharp/PixelFormats/PixelBlenders/AssociatedAlphaPixelBlenders.Generated.cs
+++ b/src/ImageSharp/PixelFormats/PixelBlenders/AssociatedAlphaPixelBlenders.Generated.cs
@@ -17,6 +17,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalSrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalSrc(background, source, amount);
@@ -35,6 +38,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplySrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplySrc(background, source, amount);
@@ -53,6 +59,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddSrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddSrc(background, source, amount);
@@ -71,6 +80,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractSrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractSrc(background, source, amount);
@@ -89,6 +101,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenSrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenSrc(background, source, amount);
@@ -107,6 +122,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenSrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenSrc(background, source, amount);
@@ -125,6 +143,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenSrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenSrc(background, source, amount);
@@ -143,6 +164,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlaySrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlaySrc(background, source, amount);
@@ -161,6 +185,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightSrc : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightSrc(background, source, amount);
@@ -179,6 +206,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalSrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalSrcAtop(background, source, amount);
@@ -197,6 +227,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplySrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplySrcAtop(background, source, amount);
@@ -215,6 +248,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddSrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddSrcAtop(background, source, amount);
@@ -233,6 +269,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractSrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractSrcAtop(background, source, amount);
@@ -251,6 +290,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenSrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenSrcAtop(background, source, amount);
@@ -269,6 +311,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenSrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenSrcAtop(background, source, amount);
@@ -287,6 +332,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenSrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenSrcAtop(background, source, amount);
@@ -305,6 +353,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlaySrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlaySrcAtop(background, source, amount);
@@ -323,6 +374,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightSrcAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightSrcAtop(background, source, amount);
@@ -341,6 +395,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalSrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalSrcOver(background, source, amount);
@@ -359,6 +416,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplySrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplySrcOver(background, source, amount);
@@ -377,6 +437,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddSrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddSrcOver(background, source, amount);
@@ -395,6 +458,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractSrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractSrcOver(background, source, amount);
@@ -413,6 +479,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenSrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenSrcOver(background, source, amount);
@@ -431,6 +500,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenSrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenSrcOver(background, source, amount);
@@ -449,6 +521,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenSrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenSrcOver(background, source, amount);
@@ -467,6 +542,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlaySrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlaySrcOver(background, source, amount);
@@ -485,6 +563,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightSrcOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightSrcOver(background, source, amount);
@@ -503,6 +584,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalSrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalSrcIn(background, source, amount);
@@ -521,6 +605,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplySrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplySrcIn(background, source, amount);
@@ -539,6 +626,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddSrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddSrcIn(background, source, amount);
@@ -557,6 +647,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractSrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractSrcIn(background, source, amount);
@@ -575,6 +668,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenSrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenSrcIn(background, source, amount);
@@ -593,6 +689,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenSrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenSrcIn(background, source, amount);
@@ -611,6 +710,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenSrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenSrcIn(background, source, amount);
@@ -629,6 +731,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlaySrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlaySrcIn(background, source, amount);
@@ -647,6 +752,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightSrcIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightSrcIn(background, source, amount);
@@ -665,6 +773,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalSrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalSrcOut(background, source, amount);
@@ -683,6 +794,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplySrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplySrcOut(background, source, amount);
@@ -701,6 +815,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddSrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddSrcOut(background, source, amount);
@@ -719,6 +836,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractSrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractSrcOut(background, source, amount);
@@ -737,6 +857,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenSrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenSrcOut(background, source, amount);
@@ -755,6 +878,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenSrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenSrcOut(background, source, amount);
@@ -773,6 +899,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenSrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenSrcOut(background, source, amount);
@@ -791,6 +920,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlaySrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlaySrcOut(background, source, amount);
@@ -809,6 +941,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightSrcOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightSrcOut(background, source, amount);
@@ -827,6 +962,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalDest(background, source, amount);
@@ -845,6 +983,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplyDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplyDest(background, source, amount);
@@ -863,6 +1004,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddDest(background, source, amount);
@@ -881,6 +1025,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractDest(background, source, amount);
@@ -899,6 +1046,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenDest(background, source, amount);
@@ -917,6 +1067,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenDest(background, source, amount);
@@ -935,6 +1088,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenDest(background, source, amount);
@@ -953,6 +1109,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlayDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlayDest(background, source, amount);
@@ -971,6 +1130,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightDest : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightDest(background, source, amount);
@@ -989,6 +1151,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalDestAtop(background, source, amount);
@@ -1007,6 +1172,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplyDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplyDestAtop(background, source, amount);
@@ -1025,6 +1193,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddDestAtop(background, source, amount);
@@ -1043,6 +1214,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractDestAtop(background, source, amount);
@@ -1061,6 +1235,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenDestAtop(background, source, amount);
@@ -1079,6 +1256,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenDestAtop(background, source, amount);
@@ -1097,6 +1277,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenDestAtop(background, source, amount);
@@ -1115,6 +1298,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlayDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlayDestAtop(background, source, amount);
@@ -1133,6 +1319,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightDestAtop : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightDestAtop(background, source, amount);
@@ -1151,6 +1340,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalDestOver(background, source, amount);
@@ -1169,6 +1361,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplyDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplyDestOver(background, source, amount);
@@ -1187,6 +1382,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddDestOver(background, source, amount);
@@ -1205,6 +1403,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractDestOver(background, source, amount);
@@ -1223,6 +1424,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenDestOver(background, source, amount);
@@ -1241,6 +1445,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenDestOver(background, source, amount);
@@ -1259,6 +1466,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenDestOver(background, source, amount);
@@ -1277,6 +1487,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlayDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlayDestOver(background, source, amount);
@@ -1295,6 +1508,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightDestOver : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightDestOver(background, source, amount);
@@ -1313,6 +1529,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalDestIn(background, source, amount);
@@ -1331,6 +1550,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplyDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplyDestIn(background, source, amount);
@@ -1349,6 +1571,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddDestIn(background, source, amount);
@@ -1367,6 +1592,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractDestIn(background, source, amount);
@@ -1385,6 +1613,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenDestIn(background, source, amount);
@@ -1403,6 +1634,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenDestIn(background, source, amount);
@@ -1421,6 +1655,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenDestIn(background, source, amount);
@@ -1439,6 +1676,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlayDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlayDestIn(background, source, amount);
@@ -1457,6 +1697,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightDestIn : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightDestIn(background, source, amount);
@@ -1475,6 +1718,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalDestOut(background, source, amount);
@@ -1493,6 +1739,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplyDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplyDestOut(background, source, amount);
@@ -1511,6 +1760,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddDestOut(background, source, amount);
@@ -1529,6 +1781,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractDestOut(background, source, amount);
@@ -1547,6 +1802,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenDestOut(background, source, amount);
@@ -1565,6 +1823,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenDestOut(background, source, amount);
@@ -1583,6 +1844,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenDestOut(background, source, amount);
@@ -1601,6 +1865,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlayDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlayDestOut(background, source, amount);
@@ -1619,6 +1886,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightDestOut : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightDestOut(background, source, amount);
@@ -1637,6 +1907,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalClear(background, source, amount);
@@ -1655,6 +1928,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplyClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplyClear(background, source, amount);
@@ -1673,6 +1949,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddClear(background, source, amount);
@@ -1691,6 +1970,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractClear(background, source, amount);
@@ -1709,6 +1991,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenClear(background, source, amount);
@@ -1727,6 +2012,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenClear(background, source, amount);
@@ -1745,6 +2033,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenClear(background, source, amount);
@@ -1763,6 +2054,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlayClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlayClear(background, source, amount);
@@ -1781,6 +2075,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightClear : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightClear(background, source, amount);
@@ -1799,6 +2096,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct NormalXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.NormalXor(background, source, amount);
@@ -1817,6 +2117,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct MultiplyXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.MultiplyXor(background, source, amount);
@@ -1835,6 +2138,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct AddXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.AddXor(background, source, amount);
@@ -1853,6 +2159,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct SubtractXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.SubtractXor(background, source, amount);
@@ -1871,6 +2180,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct ScreenXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.ScreenXor(background, source, amount);
@@ -1889,6 +2201,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct DarkenXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.DarkenXor(background, source, amount);
@@ -1907,6 +2222,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct LightenXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.LightenXor(background, source, amount);
@@ -1925,6 +2243,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct OverlayXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.OverlayXor(background, source, amount);
@@ -1943,6 +2264,9 @@ internal static class AssociatedAlphaPixelBlenderOperators
///
public readonly struct HardLightXor : IPixelBlenderOperator
{
+ ///
+ public static bool IsAssociatedAlpha => true;
+
///
public static Vector4 Invoke(Vector4 background, Vector4 source, float amount)
=> AssociatedAlphaPorterDuffFunctions.HardLightXor(background, source, amount);
@@ -1966,1299 +2290,543 @@ internal static partial class AssociatedAlphaPixelBlenders
where TPixel : unmanaged, IPixel
{
///
- /// Blends pixels with the "NormalSrc" composition equation.
+ /// Gets the shared blender for the "NormalSrc" composition equation.
///
- public sealed class NormalSrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalSrc Instance { get; } = new();
- }
+ public static PixelBlender NormalSrc => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplySrc" composition equation.
+ /// Gets the shared blender for the "MultiplySrc" composition equation.
///
- public sealed class MultiplySrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplySrc Instance { get; } = new();
- }
+ public static PixelBlender MultiplySrc => PixelBlender.Instance;
///
- /// Blends pixels with the "AddSrc" composition equation.
+ /// Gets the shared blender for the "AddSrc" composition equation.
///
- public sealed class AddSrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddSrc Instance { get; } = new();
- }
+ public static PixelBlender AddSrc => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractSrc" composition equation.
+ /// Gets the shared blender for the "SubtractSrc" composition equation.
///
- public sealed class SubtractSrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractSrc Instance { get; } = new();
- }
+ public static PixelBlender SubtractSrc => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenSrc" composition equation.
+ /// Gets the shared blender for the "ScreenSrc" composition equation.
///
- public sealed class ScreenSrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenSrc Instance { get; } = new();
- }
+ public static PixelBlender ScreenSrc => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenSrc" composition equation.
+ /// Gets the shared blender for the "DarkenSrc" composition equation.
///
- public sealed class DarkenSrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenSrc Instance { get; } = new();
- }
+ public static PixelBlender DarkenSrc => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenSrc" composition equation.
+ /// Gets the shared blender for the "LightenSrc" composition equation.
///
- public sealed class LightenSrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenSrc Instance { get; } = new();
- }
+ public static PixelBlender LightenSrc => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlaySrc" composition equation.
+ /// Gets the shared blender for the "OverlaySrc" composition equation.
///
- public sealed class OverlaySrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlaySrc Instance { get; } = new();
- }
+ public static PixelBlender OverlaySrc => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightSrc" composition equation.
+ /// Gets the shared blender for the "HardLightSrc" composition equation.
///
- public sealed class HardLightSrc :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightSrc Instance { get; } = new();
- }
+ public static PixelBlender HardLightSrc => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalSrcAtop" composition equation.
+ /// Gets the shared blender for the "NormalSrcAtop" composition equation.
///
- public sealed class NormalSrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalSrcAtop Instance { get; } = new();
- }
+ public static PixelBlender NormalSrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplySrcAtop" composition equation.
+ /// Gets the shared blender for the "MultiplySrcAtop" composition equation.
///
- public sealed class MultiplySrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplySrcAtop Instance { get; } = new();
- }
+ public static PixelBlender MultiplySrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "AddSrcAtop" composition equation.
+ /// Gets the shared blender for the "AddSrcAtop" composition equation.
///
- public sealed class AddSrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddSrcAtop Instance { get; } = new();
- }
+ public static PixelBlender AddSrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractSrcAtop" composition equation.
+ /// Gets the shared blender for the "SubtractSrcAtop" composition equation.
///
- public sealed class SubtractSrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractSrcAtop Instance { get; } = new();
- }
+ public static PixelBlender SubtractSrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenSrcAtop" composition equation.
+ /// Gets the shared blender for the "ScreenSrcAtop" composition equation.
///
- public sealed class ScreenSrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenSrcAtop Instance { get; } = new();
- }
+ public static PixelBlender ScreenSrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenSrcAtop" composition equation.
+ /// Gets the shared blender for the "DarkenSrcAtop" composition equation.
///
- public sealed class DarkenSrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenSrcAtop Instance { get; } = new();
- }
+ public static PixelBlender DarkenSrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenSrcAtop" composition equation.
+ /// Gets the shared blender for the "LightenSrcAtop" composition equation.
///
- public sealed class LightenSrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenSrcAtop Instance { get; } = new();
- }
+ public static PixelBlender LightenSrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlaySrcAtop" composition equation.
+ /// Gets the shared blender for the "OverlaySrcAtop" composition equation.
///
- public sealed class OverlaySrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlaySrcAtop Instance { get; } = new();
- }
+ public static PixelBlender OverlaySrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightSrcAtop" composition equation.
+ /// Gets the shared blender for the "HardLightSrcAtop" composition equation.
///
- public sealed class HardLightSrcAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightSrcAtop Instance { get; } = new();
- }
+ public static PixelBlender HardLightSrcAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalSrcOver" composition equation.
+ /// Gets the shared blender for the "NormalSrcOver" composition equation.
///
- public sealed class NormalSrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalSrcOver Instance { get; } = new();
- }
+ public static PixelBlender NormalSrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplySrcOver" composition equation.
+ /// Gets the shared blender for the "MultiplySrcOver" composition equation.
///
- public sealed class MultiplySrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplySrcOver Instance { get; } = new();
- }
+ public static PixelBlender MultiplySrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "AddSrcOver" composition equation.
+ /// Gets the shared blender for the "AddSrcOver" composition equation.
///
- public sealed class AddSrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddSrcOver Instance { get; } = new();
- }
+ public static PixelBlender AddSrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractSrcOver" composition equation.
+ /// Gets the shared blender for the "SubtractSrcOver" composition equation.
///
- public sealed class SubtractSrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractSrcOver Instance { get; } = new();
- }
+ public static PixelBlender SubtractSrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenSrcOver" composition equation.
+ /// Gets the shared blender for the "ScreenSrcOver" composition equation.
///
- public sealed class ScreenSrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenSrcOver Instance { get; } = new();
- }
+ public static PixelBlender ScreenSrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenSrcOver" composition equation.
+ /// Gets the shared blender for the "DarkenSrcOver" composition equation.
///
- public sealed class DarkenSrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenSrcOver Instance { get; } = new();
- }
+ public static PixelBlender DarkenSrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenSrcOver" composition equation.
+ /// Gets the shared blender for the "LightenSrcOver" composition equation.
///
- public sealed class LightenSrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenSrcOver Instance { get; } = new();
- }
+ public static PixelBlender LightenSrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlaySrcOver" composition equation.
+ /// Gets the shared blender for the "OverlaySrcOver" composition equation.
///
- public sealed class OverlaySrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlaySrcOver Instance { get; } = new();
- }
+ public static PixelBlender OverlaySrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightSrcOver" composition equation.
+ /// Gets the shared blender for the "HardLightSrcOver" composition equation.
///
- public sealed class HardLightSrcOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightSrcOver Instance { get; } = new();
- }
+ public static PixelBlender HardLightSrcOver => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalSrcIn" composition equation.
+ /// Gets the shared blender for the "NormalSrcIn" composition equation.
///
- public sealed class NormalSrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalSrcIn Instance { get; } = new();
- }
+ public static PixelBlender NormalSrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplySrcIn" composition equation.
+ /// Gets the shared blender for the "MultiplySrcIn" composition equation.
///
- public sealed class MultiplySrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplySrcIn Instance { get; } = new();
- }
+ public static PixelBlender MultiplySrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "AddSrcIn" composition equation.
+ /// Gets the shared blender for the "AddSrcIn" composition equation.
///
- public sealed class AddSrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddSrcIn Instance { get; } = new();
- }
+ public static PixelBlender AddSrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractSrcIn" composition equation.
+ /// Gets the shared blender for the "SubtractSrcIn" composition equation.
///
- public sealed class SubtractSrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractSrcIn Instance { get; } = new();
- }
+ public static PixelBlender SubtractSrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenSrcIn" composition equation.
+ /// Gets the shared blender for the "ScreenSrcIn" composition equation.
///
- public sealed class ScreenSrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenSrcIn Instance { get; } = new();
- }
+ public static PixelBlender ScreenSrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenSrcIn" composition equation.
+ /// Gets the shared blender for the "DarkenSrcIn" composition equation.
///
- public sealed class DarkenSrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenSrcIn Instance { get; } = new();
- }
+ public static PixelBlender DarkenSrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenSrcIn" composition equation.
+ /// Gets the shared blender for the "LightenSrcIn" composition equation.
///
- public sealed class LightenSrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenSrcIn Instance { get; } = new();
- }
+ public static PixelBlender LightenSrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlaySrcIn" composition equation.
+ /// Gets the shared blender for the "OverlaySrcIn" composition equation.
///
- public sealed class OverlaySrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlaySrcIn Instance { get; } = new();
- }
+ public static PixelBlender OverlaySrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightSrcIn" composition equation.
+ /// Gets the shared blender for the "HardLightSrcIn" composition equation.
///
- public sealed class HardLightSrcIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightSrcIn Instance { get; } = new();
- }
+ public static PixelBlender HardLightSrcIn => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalSrcOut" composition equation.
+ /// Gets the shared blender for the "NormalSrcOut" composition equation.
///
- public sealed class NormalSrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalSrcOut Instance { get; } = new();
- }
+ public static PixelBlender NormalSrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplySrcOut" composition equation.
+ /// Gets the shared blender for the "MultiplySrcOut" composition equation.
///
- public sealed class MultiplySrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplySrcOut Instance { get; } = new();
- }
+ public static PixelBlender MultiplySrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "AddSrcOut" composition equation.
+ /// Gets the shared blender for the "AddSrcOut" composition equation.
///
- public sealed class AddSrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddSrcOut Instance { get; } = new();
- }
+ public static PixelBlender AddSrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractSrcOut" composition equation.
+ /// Gets the shared blender for the "SubtractSrcOut" composition equation.
///
- public sealed class SubtractSrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractSrcOut Instance { get; } = new();
- }
+ public static PixelBlender SubtractSrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenSrcOut" composition equation.
+ /// Gets the shared blender for the "ScreenSrcOut" composition equation.
///
- public sealed class ScreenSrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenSrcOut Instance { get; } = new();
- }
+ public static PixelBlender ScreenSrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenSrcOut" composition equation.
+ /// Gets the shared blender for the "DarkenSrcOut" composition equation.
///
- public sealed class DarkenSrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenSrcOut Instance { get; } = new();
- }
+ public static PixelBlender DarkenSrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenSrcOut" composition equation.
+ /// Gets the shared blender for the "LightenSrcOut" composition equation.
///
- public sealed class LightenSrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenSrcOut Instance { get; } = new();
- }
+ public static PixelBlender LightenSrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlaySrcOut" composition equation.
+ /// Gets the shared blender for the "OverlaySrcOut" composition equation.
///
- public sealed class OverlaySrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlaySrcOut Instance { get; } = new();
- }
+ public static PixelBlender OverlaySrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightSrcOut" composition equation.
+ /// Gets the shared blender for the "HardLightSrcOut" composition equation.
///
- public sealed class HardLightSrcOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightSrcOut Instance { get; } = new();
- }
+ public static PixelBlender HardLightSrcOut => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalDest" composition equation.
+ /// Gets the shared blender for the "NormalDest" composition equation.
///
- public sealed class NormalDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalDest Instance { get; } = new();
- }
+ public static PixelBlender NormalDest => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplyDest" composition equation.
+ /// Gets the shared blender for the "MultiplyDest" composition equation.
///
- public sealed class MultiplyDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplyDest Instance { get; } = new();
- }
+ public static PixelBlender MultiplyDest => PixelBlender.Instance;
///
- /// Blends pixels with the "AddDest" composition equation.
+ /// Gets the shared blender for the "AddDest" composition equation.
///
- public sealed class AddDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddDest Instance { get; } = new();
- }
+ public static PixelBlender AddDest => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractDest" composition equation.
+ /// Gets the shared blender for the "SubtractDest" composition equation.
///
- public sealed class SubtractDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractDest Instance { get; } = new();
- }
+ public static PixelBlender SubtractDest => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenDest" composition equation.
+ /// Gets the shared blender for the "ScreenDest" composition equation.
///
- public sealed class ScreenDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenDest Instance { get; } = new();
- }
+ public static PixelBlender ScreenDest => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenDest" composition equation.
+ /// Gets the shared blender for the "DarkenDest" composition equation.
///
- public sealed class DarkenDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenDest Instance { get; } = new();
- }
+ public static PixelBlender DarkenDest => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenDest" composition equation.
+ /// Gets the shared blender for the "LightenDest" composition equation.
///
- public sealed class LightenDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenDest Instance { get; } = new();
- }
+ public static PixelBlender LightenDest => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlayDest" composition equation.
+ /// Gets the shared blender for the "OverlayDest" composition equation.
///
- public sealed class OverlayDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlayDest Instance { get; } = new();
- }
+ public static PixelBlender OverlayDest => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightDest" composition equation.
+ /// Gets the shared blender for the "HardLightDest" composition equation.
///
- public sealed class HardLightDest :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightDest Instance { get; } = new();
- }
+ public static PixelBlender HardLightDest => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalDestAtop" composition equation.
+ /// Gets the shared blender for the "NormalDestAtop" composition equation.
///
- public sealed class NormalDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalDestAtop Instance { get; } = new();
- }
+ public static PixelBlender NormalDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplyDestAtop" composition equation.
+ /// Gets the shared blender for the "MultiplyDestAtop" composition equation.
///
- public sealed class MultiplyDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplyDestAtop Instance { get; } = new();
- }
+ public static PixelBlender MultiplyDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "AddDestAtop" composition equation.
+ /// Gets the shared blender for the "AddDestAtop" composition equation.
///
- public sealed class AddDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddDestAtop Instance { get; } = new();
- }
+ public static PixelBlender AddDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractDestAtop" composition equation.
+ /// Gets the shared blender for the "SubtractDestAtop" composition equation.
///
- public sealed class SubtractDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractDestAtop Instance { get; } = new();
- }
+ public static PixelBlender SubtractDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenDestAtop" composition equation.
+ /// Gets the shared blender for the "ScreenDestAtop" composition equation.
///
- public sealed class ScreenDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenDestAtop Instance { get; } = new();
- }
+ public static PixelBlender ScreenDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenDestAtop" composition equation.
+ /// Gets the shared blender for the "DarkenDestAtop" composition equation.
///
- public sealed class DarkenDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenDestAtop Instance { get; } = new();
- }
+ public static PixelBlender DarkenDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenDestAtop" composition equation.
+ /// Gets the shared blender for the "LightenDestAtop" composition equation.
///
- public sealed class LightenDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenDestAtop Instance { get; } = new();
- }
+ public static PixelBlender LightenDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlayDestAtop" composition equation.
+ /// Gets the shared blender for the "OverlayDestAtop" composition equation.
///
- public sealed class OverlayDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlayDestAtop Instance { get; } = new();
- }
+ public static PixelBlender OverlayDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightDestAtop" composition equation.
+ /// Gets the shared blender for the "HardLightDestAtop" composition equation.
///
- public sealed class HardLightDestAtop :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightDestAtop Instance { get; } = new();
- }
+ public static PixelBlender HardLightDestAtop => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalDestOver" composition equation.
+ /// Gets the shared blender for the "NormalDestOver" composition equation.
///
- public sealed class NormalDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalDestOver Instance { get; } = new();
- }
+ public static PixelBlender NormalDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplyDestOver" composition equation.
+ /// Gets the shared blender for the "MultiplyDestOver" composition equation.
///
- public sealed class MultiplyDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplyDestOver Instance { get; } = new();
- }
+ public static PixelBlender MultiplyDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "AddDestOver" composition equation.
+ /// Gets the shared blender for the "AddDestOver" composition equation.
///
- public sealed class AddDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddDestOver Instance { get; } = new();
- }
+ public static PixelBlender AddDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractDestOver" composition equation.
+ /// Gets the shared blender for the "SubtractDestOver" composition equation.
///
- public sealed class SubtractDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractDestOver Instance { get; } = new();
- }
+ public static PixelBlender SubtractDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenDestOver" composition equation.
+ /// Gets the shared blender for the "ScreenDestOver" composition equation.
///
- public sealed class ScreenDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenDestOver Instance { get; } = new();
- }
+ public static PixelBlender ScreenDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenDestOver" composition equation.
+ /// Gets the shared blender for the "DarkenDestOver" composition equation.
///
- public sealed class DarkenDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenDestOver Instance { get; } = new();
- }
+ public static PixelBlender DarkenDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenDestOver" composition equation.
+ /// Gets the shared blender for the "LightenDestOver" composition equation.
///
- public sealed class LightenDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenDestOver Instance { get; } = new();
- }
+ public static PixelBlender LightenDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlayDestOver" composition equation.
+ /// Gets the shared blender for the "OverlayDestOver" composition equation.
///
- public sealed class OverlayDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlayDestOver Instance { get; } = new();
- }
+ public static PixelBlender OverlayDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightDestOver" composition equation.
+ /// Gets the shared blender for the "HardLightDestOver" composition equation.
///
- public sealed class HardLightDestOver :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightDestOver Instance { get; } = new();
- }
+ public static PixelBlender HardLightDestOver => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalDestIn" composition equation.
+ /// Gets the shared blender for the "NormalDestIn" composition equation.
///
- public sealed class NormalDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalDestIn Instance { get; } = new();
- }
+ public static PixelBlender NormalDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplyDestIn" composition equation.
+ /// Gets the shared blender for the "MultiplyDestIn" composition equation.
///
- public sealed class MultiplyDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplyDestIn Instance { get; } = new();
- }
+ public static PixelBlender MultiplyDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "AddDestIn" composition equation.
+ /// Gets the shared blender for the "AddDestIn" composition equation.
///
- public sealed class AddDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddDestIn Instance { get; } = new();
- }
+ public static PixelBlender AddDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "SubtractDestIn" composition equation.
+ /// Gets the shared blender for the "SubtractDestIn" composition equation.
///
- public sealed class SubtractDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static SubtractDestIn Instance { get; } = new();
- }
+ public static PixelBlender SubtractDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "ScreenDestIn" composition equation.
+ /// Gets the shared blender for the "ScreenDestIn" composition equation.
///
- public sealed class ScreenDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static ScreenDestIn Instance { get; } = new();
- }
+ public static PixelBlender ScreenDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "DarkenDestIn" composition equation.
+ /// Gets the shared blender for the "DarkenDestIn" composition equation.
///
- public sealed class DarkenDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static DarkenDestIn Instance { get; } = new();
- }
+ public static PixelBlender DarkenDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "LightenDestIn" composition equation.
+ /// Gets the shared blender for the "LightenDestIn" composition equation.
///
- public sealed class LightenDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static LightenDestIn Instance { get; } = new();
- }
+ public static PixelBlender LightenDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "OverlayDestIn" composition equation.
+ /// Gets the shared blender for the "OverlayDestIn" composition equation.
///
- public sealed class OverlayDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static OverlayDestIn Instance { get; } = new();
- }
+ public static PixelBlender OverlayDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "HardLightDestIn" composition equation.
+ /// Gets the shared blender for the "HardLightDestIn" composition equation.
///
- public sealed class HardLightDestIn :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static HardLightDestIn Instance { get; } = new();
- }
+ public static PixelBlender HardLightDestIn => PixelBlender.Instance;
///
- /// Blends pixels with the "NormalDestOut" composition equation.
+ /// Gets the shared blender for the "NormalDestOut" composition equation.
///
- public sealed class NormalDestOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static NormalDestOut Instance { get; } = new();
- }
+ public static PixelBlender NormalDestOut => PixelBlender.Instance;
///
- /// Blends pixels with the "MultiplyDestOut" composition equation.
+ /// Gets the shared blender for the "MultiplyDestOut" composition equation.
///
- public sealed class MultiplyDestOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static MultiplyDestOut Instance { get; } = new();
- }
+ public static PixelBlender MultiplyDestOut => PixelBlender.Instance;
///
- /// Blends pixels with the "AddDestOut" composition equation.
+ /// Gets the shared blender for the "AddDestOut" composition equation.
///
- public sealed class AddDestOut :
- AssociatedAlphaPixelBlender
- {
- ///
- /// Gets the shared blender instance.
- ///
- public static AddDestOut Instance { get; } = new();
- }
+ public static PixelBlender AddDestOut => PixelBlender.Instance;
///