Hi, I’m developing a graphical editor and now I’m trying to create a curve that passes through three given points with Java2D (I’m drawing the curves inside a class that extends JPanel by overriding the paintComponent method). How can I make it?
Also, I have to know where the middle point is to drag it and modify the curve.
The image that is attached is what I’m looking for (there is done with a QuadCurve2D, so I cannot obtain the middle point).
Thanks!