@Override protected void updateShape() { ShapeUtil.buildPathFromAnchors(getPath(), getControlPoints()); // call super method after shape has been updated super.updateShape(); }