class RectangleUtils {

    public static PDRectangle translate(float xOffset, float yOffset, PDRectangle oldRectangle) {
        return new PDRectangle(oldRectangle.getLowerLeftX() + xOffset,
                oldRectangle.getLowerLeftY() + yOffset, oldRectangle.getWidth(), oldRectangle.getHeight());
    }

}