lib/rmagick_internal.rb
# Make transparent any neighbor pixel that is not the border color.
Make transparent any neighbor pixel that is not the border color.
Make transparent any neighbor pixel that is not the border color .
def matte_fill_to_border(x, y)
      f = copy
      f.alpha(OpaqueAlphaChannel) unless f.alpha?
      f.matte_flood_fill(border_color, x, y, FillToBorderMethod, alpha: TransparentAlpha)
    end
def matte_fill_to_border ( x , y ) f = copy f . alpha ( OpaqueAlphaChannel ) unless f . alpha? f . matte_flood_fill ( border_color , x , y , FillToBorderMethod , alpha : TransparentAlpha ) end
Make transparent any neighbor pixel that is not the border color.
Make transparent any neighbor pixel that is not the border color .
x
<not_specific>
y
<not_specific>