ImageMagick.MagickImage.NativeMagickImage.SparseColor C# (CSharp) Method

SparseColor() public method

public SparseColor ( Channels channel, SparseColorMethod method, double values, int length ) : void
channel Channels
method SparseColorMethod
values double
length int
return void
      public void SparseColor(Channels channel, SparseColorMethod method, double[] values, int length)
      {
        IntPtr exception = IntPtr.Zero;
        IntPtr result;
        #if ANYCPU
        if (NativeLibrary.Is64Bit)
        #endif
        #if WIN64 || ANYCPU
        result = NativeMethods.X64.MagickImage_SparseColor(Instance, (UIntPtr)channel, (UIntPtr)method, values, (UIntPtr)length, out exception);
        #endif
        #if ANYCPU
        else
        #endif
        #if !WIN64 || ANYCPU
        result = NativeMethods.X86.MagickImage_SparseColor(Instance, (UIntPtr)channel, (UIntPtr)method, values, (UIntPtr)length, out exception);
        #endif
        CheckException(exception, result);
        Instance = result;
      }
      public void Sketch(double radius, double sigma, double angle)
MagickImage.NativeMagickImage