PDA

View Full Version : Paint Bucket in inkcanvas



alexprvn
September 5th, 2009, 05:50 AM
Hai..

Sample:

<InkCanvas x:Name="inker" Margin="-8,94,8,8">
<Image x:Name="img" Margin="-196.794,0,-1206.111,-1489.523" Height="1374.139" Source="311.JPG"/>
</InkCanvas>

in this above code i have kept image inside inkcanvas.
this is how my application goes..
where we can paint that image placed in it.
Please help me how to fill a particular bounded area like a paint bucket in MSPAINT or in any other application.

example: for a mickey mouse image filling it's ear with black color instead of brushing..