InvertEffect
Produces the effect that inverts the colors in an image.
using System.Runtime.CompilerServices;
namespace System.Drawing.Imaging.Effects
{
public sealed class InvertEffect : ColorMatrixEffect
{
public InvertEffect()
: base(new ColorMatrix(RuntimeHelpers.CreateSpan<float>((RuntimeFieldHandle))))
{
}
}
}