int xUpdated = (int)((x * scaleX) + component.getX() + tx);
int yUpdated = (int)((y * scaleY) + component.getY() + ty);
int widthUpdated = (int)Math.ceil(width * scaleX);
int heightUpdated = (int)Math.ceil(height * scaleY);
parent.repaint(xUpdated, yUpdated, widthUpdated, heightUpdated);
}
}
@Override
public Bounds getBounds(Component component) {