Method: Magick::Image#texture_floodfill

Defined in:
lib/rmagick_internal.rb

#texture_floodfill(x, y, texture) ⇒ Object

Replace matching neighboring pixels with texture pixels



1006
1007
1008
1009
# File 'lib/rmagick_internal.rb', line 1006

def texture_floodfill(x, y, texture)
  target = pixel_color(x, y)
  texture_flood_fill(target, texture, x, y, FloodfillMethod)
end