How do I fill a shape with colour?

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

Markh999(Posted 2005) [#1]
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?


Bremer(Posted 2005) [#2]
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