@Niya

Using this method, how could i create an MSPaint-like floodfill feature? I have an existing method, that radiates out from the clicked pixel that i found on the www a long time ago. The code i have works, but it's very slow. I can dig out my existing code if you need to see it?