Changed Methods |
Rectangle getBounds()
|
Documentation changed from old to new. |
Gets the bounding Rectangle of this Rectangle . |
Point getLocation()
|
Documentation changed from old to new. |
Returns the location of this Rectangle . |
Dimension getSize()
|
Documentation changed from old to new. |
Gets the size of this Rectangle represented by the returned Dimension . |
boolean inside(int, int)
|
Documentation changed from old to new. |
As of JDK version 1.1, replaced by contains(int, int) . |
Rectangle intersection(Rectangle )
|
Documentation changed from old to new. |
Computes the intersection of this Rectangle with the specified Rectangle . |
void move(int, int)
|
Documentation changed from old to new. |
As of JDK version 1.1, replaced by setLocation(int, int) . |
void reshape(int, int, int, int)
|
Documentation changed from old to new. |
As of JDK version 1.1, replaced by setBounds(int, int, int, int) . |
void resize(int, int)
|
Documentation changed from old to new. |
As of JDK version 1.1, replaced by setSize(int, int) . |
void translate(int, int)
|
Documentation changed from old to new. |
Translates this Rectangle the indicated distance to the right along the x coordinate axis and downward along the y coordinate axis. |
boolean contains(int, int, int, int)
|
Documentation changed from old to new. |
Checks whether this Rectangle entirely contains the Rectangle at the specified location (X Y) with the specified dimensions (W H). |
boolean intersects(Rectangle )
|
Documentation changed from old to new. |
Determines whether or not this Rectangle and the specified Rectangle intersect. |
void setBounds(int, int, int, int)
|
Documentation changed from old to new. |
Sets the bounding Rectangle of this Rectangle to the specified x y width and height . |
void setBounds(Rectangle )
|
Documentation changed from old to new. |
Sets the bounding Rectangle of this Rectangle to match the specified Rectangle . |
void setLocation(int, int)
|
Documentation changed from old to new. |
Moves this Rectangle to the specified location. |
void setLocation(Point )
|
Documentation changed from old to new. |
Moves this Rectangle to the specified location. |
void setRect(double, double, double, double)
|
Documentation changed from old to new. |
Sets the bounds of this Rectangle to the specified x y width and height . |
void setSize(int, int)
|
Documentation changed from old to new. |
Sets the size of this Rectangle to the specified width and height. |
void setSize(Dimension )
|
Documentation changed from old to new. |
Sets the size of this Rectangle to match the specified Dimension . |