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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top