Just like the picture below.
I don't believe there is a bucket fill method in Godot. You can draw lines and circles and arbitrary polygons. One thing you can do is draw a filled polygon with draw_polygon (could be a circle or whatever shape, you just send in points) and then draw a border around with with draw_line.
https://docs.godotengine.org/en/stable/tutorials/2d/custom_drawing_in_2d.html https://docs.godotengine.org/en/stable/classes/class_canvasitem.html#class-canvasitem
Unless he's talking about image manipulation. :hushed:
Right. There are probably some old-school software rasterizer tricks to do that but I'd have to know more about the use-case to know if that would apply.
I used the flood flood algorithm here