Basics of Coordinate Geometry

Table of Contents

1. Location

2. Displacement

When I create a rectangle by doing this...

new FramedRect(10, 30, 100, 50, canvas)

... the javadoc tells me that the parameters are the x, y, width, and height of the rectangle. So, in other words, the rectangle starts at the point (x, y), and extends width off to the right and height down.

How would I go about figuring out the position of the opposite corner of the rectangle?