@Environment(value=CLIENT) public class Rect2i extends Object
Modifier and Type | Field and Description |
---|---|
private int |
height |
private int |
width |
private int |
x |
private int |
y |
Constructor and Description |
---|
Rect2i(int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y) |
int |
getHeight() |
int |
getWidth() |
int |
getX() |
int |
getY() |