public class Rectangle2d
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
height |
private int |
width |
private int |
x |
private int |
y |
| Constructor and Description |
|---|
Rectangle2d(int xIn,
int yIn,
int widthIn,
int heightIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int x,
int y) |
int |
getHeight() |
int |
getWidth() |
int |
getX() |
int |
getY() |