Hittest for segmented lines

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I'm drawing a segmented lines to a graphics object. I want to test for
each mouseclick event it should check whether the cursor is on the line. If
so it should select the entire line.

I'm createing a GraphicsPath object. Then adding each segments of the line
to this path. Then checking path.IsVisible agains the cursor point. But this
is not working.
Please help me to d this.

Thanks and Regards,
 
Back
Top