public void updateRectangle(float scale, float x, float y) { super.updateRectangle(scale, x, y); float yPos = y - height; for (Box b : children) { yPos += b.getHeight(); b.updateRectangle(scale, x + b.getShift() - leftMostPos, yPos); yPos += b.getDepth(); } }
public void updateRectangle(float scale, float x, float y) { super.updateRectangle(scl * scale, x, y); }