public class Rectangle extends 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(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()
Copyright © 2016. All rights reserved.