public class Rectangle
extends java.lang.Object
Constructor and Description |
---|
Rectangle(int x,
int y,
int height,
int width) |
Rectangle(Point p,
Dimension d) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Dimension |
getDimension() |
int |
getHeight() |
Point |
getPoint() |
int |
getWidth() |
int |
getX() |
int |
getY() |
int |
hashCode() |
void |
setHeight(int height) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
public int getX()
public int getY()
public void setX(int x)
public void setY(int y)
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public Point getPoint()
public Dimension getDimension()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object