How do I fill a shape with colour?

BlitzPlus Forums/BlitzPlus Beginners Area/How do I fill a shape with colour?

If I have a an enclosed shape on the screen drawn say, by lots of line commands, is there an easy way to fill the shape with a colour?

There are 3 different flood fill functions in the code archieves:

http://www.blitzbasic.com/codearcs/codearcs.php?code=50
http://www.blitzbasic.com/codearcs/codearcs.php?code=263
http://www.blitzbasic.com/codearcs/codearcs.php?code=314