graphics.setline where startPoint = endPoint