Added a getCenter() method to all Border classes.