public class Rectangle
extends java.lang.Object
| Constructor and Description |
|---|
Rectangle() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int x,
int y) |
int |
getCenterX() |
int |
getCenterY() |
void |
setBounds(int x,
int y,
int width,
int height) |