i dont how to solve this problem. I am developing a graphical editor, where arc(line) drawing is possible. I manually set the size of arc component to 1000x1000, so i dont
I solved it like this:
create new Line2D object, with the parameters of the arc saved in the list, like this:
Line2D line = new Line2D.Double(...)
check this condition
if (line.ptLineDist(x, y) < 3) { ... //we clicked on the line, do something
}