tags:

views:

239

answers:

1

Hello,

I'm trying to fill an area of an image in WPF. Something similar to the bucket in Paint. How should I do this? I'm thinking of getting the pixel color under the mouse, and change all the pixels with the same color near. Is there a simpler way?

What should I use? WriteableBitmap?

Thank you

+2  A: 

Yes, WriteableBitmap is the best way to go on this one IMHO.

Drew Marsh