public Method

Image.color_floodfill(x, y, fill)

Set all pixels that have the same color as the pixel at x,y and are neighbors to the fill color

Source Code

# File RMagick.rb, line 722
def color_floodfill(x, y, fill)
    target = pixel_color(x, y)
    color_flood_fill(target, fill, x, y, Magick::FloodfillMethod)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.