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