sk_imagefilter_new_alpha_threshold() private method

private sk_imagefilter_new_alpha_threshold ( SKRectI &region, float innerThreshold, float outerThreshold, IntPtr input ) : IntPtr
region SKRectI
innerThreshold float
outerThreshold float
input System.IntPtr
return System.IntPtr
Ejemplo n.º 1
0
 public static SKImageFilter CreateAlphaThreshold(SKRegion region, float innerThreshold, float outerThreshold, SKImageFilter input = null)
 {
     if (region == null)
     {
         throw new ArgumentNullException(nameof(region));
     }
     return(GetObject <SKImageFilter>(SkiaApi.sk_imagefilter_new_alpha_threshold(region.Handle, innerThreshold, outerThreshold, input == null ? IntPtr.Zero : input.Handle)));
 }
Ejemplo n.º 2
0
 public static SKImageFilter CreateAlphaThreshold(SKRectI region, float innerThreshold, float outerThreshold, SKImageFilter input = null)
 {
     return(GetObject <SKImageFilter>(SkiaApi.sk_imagefilter_new_alpha_threshold(ref region, innerThreshold, outerThreshold, input == null ? IntPtr.Zero : input.Handle)));
 }