I'm preparing a graph plot application,and i need to detect the touch of the user on the drawn lines using drawRect() method and show an alert message to user with the values at that point. I have drawn the lines using NSBezierPath. Is there any way to detect the touch only on the lines ,not at any other places of screen?
问问题
129 次