SparrowSharp.Filters.ColorMatrix.Invert C# (CSharp) Method

Invert() public method

Inverts the colors.
public Invert ( ) : void
return void
        public void Invert()
        {
            float[] mtx =
            {
                -1, 0,  0,  0, 255,
                0, -1,  0,  0, 255,
                0,  0, -1,  0, 255,
                0,  0,  0,  1,   0
            };
            ConcatMatrix(this, mtx);
        }