Ladies and gentlemen, there is the following code:
public void draw(GraphicsContext gc) { gc.beginPath(); gc.moveTo(x + ax, y + ay); gc.quadraticCurveTo(x + controlPoint.x, y + controlPoint.y, x + cx, y + cy); gc.closePath(); gc.stroke(); } Source: https://ru.stackoverflow.com/questions/618155/
All Articles