The translate(...) method is a handy method of the Polygon class |
The bounds variable (which holds the bounding rectangle of the polygon) is a protected variable of the Polygon class |
Rather than manually compute a new bounding rectangle, we nullify bounds and let the Polygon class worry about it |