lib/rmagick_internal.rb
# Make transparent any pixel that matches the color of the pixel
# at (x,y) and is a neighbor.
Make transparent any pixel that matches the color of the pixel
at (x,y) and is a neighbor.
Make transparent any pixel that matches the color of the pixel at ( x y ) and is a neighbor .
def matte_floodfill(x, y)
      f = copy
      f.alpha(OpaqueAlphaChannel) unless f.alpha?
      target = f.pixel_color(x, y)
      f.matte_flood_fill(target, x, y, FloodfillMethod, alpha: TransparentAlpha)
    end
def matte_floodfill ( x , y ) f = copy f . alpha ( OpaqueAlphaChannel ) unless f . alpha? target = f . pixel_color ( x , y ) f . matte_flood_fill ( target , x , y , FloodfillMethod , alpha : TransparentAlpha ) end
Make transparent any pixel that matches the color of the pixel
at (x,y) and is a neighbor.
Make transparent any pixel that matches the color of the pixel at ( x y ) and is a neighbor .
x
<not_specific>
y
<not_specific>