Click here to Skip to main content
15,889,858 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i am trying to do something like ms paint now i want to implement the fill color function of ms paint i.e i want to flood fill and shape drawn by me with a perticular color,shape may be anything like circle,rectangle,polygon etc.Any help is welcome.
Manish Kumar Sharma
Posted

1 solution

This can be done with the C++ APIs, but it's strangely missing in C#. There's at least one article on how to do flood fill in C# right here on code project.

Flood Fill Algorithms in C# and GDI+[^]

There's a search functionality in the site. I just typed in C# floodfill.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900