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

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

public Tint ( string opacity, MagickColor tint ) : void
opacity string
tint MagickColor
Результат void
      public void Tint(string opacity, MagickColor tint)
      {
        using (INativeInstance opacityNative = UTF8Marshaler.CreateInstance(opacity))
        {
          using (INativeInstance tintNative = MagickColor.CreateInstance(tint))
          {
            IntPtr exception = IntPtr.Zero;
            IntPtr result;
            #if ANYCPU
            if (NativeLibrary.Is64Bit)
            #endif
            #if WIN64 || ANYCPU
            result = NativeMethods.X64.MagickImage_Tint(Instance, opacityNative.Instance, tintNative.Instance, out exception);
            #endif
            #if ANYCPU
            else
            #endif
            #if !WIN64 || ANYCPU
            result = NativeMethods.X86.MagickImage_Tint(Instance, opacityNative.Instance, tintNative.Instance, out exception);
            #endif
            CheckException(exception, result);
            Instance = result;
          }
        }
      }
      public void Transparent(MagickColor color, bool invert)
MagickImage.NativeMagickImage