Click here to Skip to main content
15,920,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Imagine I have a pink (color:255,0,255) unknown shape somewhere in my image and I want to fill that specific pink color area with a TextureBrush (graphic.FillRegion(myBrush, region)).

How would I 'select' that pink region so I can pass it to the TextureBrush object?
Posted

1 solution

Is this[^] helpful? See the code block near the bottom of the article.
 
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