Search code examples
c#wpfinkcanvas

Scratching the color off a picture


I'm working on a project with the kinect (I'm adding in case someone has a good way to do using the kinect) but I think this is mostly some programming issue in C# and WPF. I want to make to have 2 pictures, one on top of the other and with a mouse click, be able to scratch the first picture out. I tried using inkcanvas and put the picture in the inkcanvas but I can only draw on top of it.

Can someone give me an idea or some methods he think it would be better way to proceed?


Solution

  • An idea might be using an OpacityMask which is a VisualBrush that contains your InkCanvas.