ImageMagick.MagickImage.NativeMagickImage.ColorMatrix C# (CSharp) Метод

ColorMatrix() публичный Метод

public ColorMatrix ( DoubleMatrix matrix ) : void
matrix DoubleMatrix
Результат void
      public void ColorMatrix(DoubleMatrix matrix)
      {
        using (INativeInstance matrixNative = DoubleMatrix.CreateInstance(matrix))
        {
          IntPtr exception = IntPtr.Zero;
          IntPtr result;
          #if ANYCPU
          if (NativeLibrary.Is64Bit)
          #endif
          #if WIN64 || ANYCPU
          result = NativeMethods.X64.MagickImage_ColorMatrix(Instance, matrixNative.Instance, out exception);
          #endif
          #if ANYCPU
          else
          #endif
          #if !WIN64 || ANYCPU
          result = NativeMethods.X86.MagickImage_ColorMatrix(Instance, matrixNative.Instance, out exception);
          #endif
          CheckException(exception, result);
          Instance = result;
        }
      }
      public double CompareDistortion(MagickImage image, ErrorMetric metric, Channels channels)
MagickImage.NativeMagickImage