protected void updateBezier() { Point startPoint = start.getPoint(); Point endPoint = end.getPoint(); Point middle = movePoint.getPoint(); updateRange(); this.curve.setCurve( startPoint.x, startPoint.y, middle.x, middle.y, middle.x, middle.y, endPoint.x, endPoint.y); }