I understand the problem. First thing which comes to my mind is padding your target curve with the transparent curve or other
Shape
which identical curve or shape, except transparency and thickness. This pad shape should be made much thicker by using the property
Shape.StrokeThickness
,
http://msdn.microsoft.com/en-us/library/system.windows.shapes.shape.strokethickness.aspx[
^].
If you do so, you can handle the hit test on the padded curve and do the same action as the hit was done on your target curve.
This is just a suggestion. I did not face with this problem yet, just thought about it. So, I'm not sure if this is the best or the only technique.
—SA