Rectangle to Rectangle2D