Use Rectangle.MAX_VALUE if one is not specified.