public class BoundingBox
extends java.lang.Object
| Constructor and Description |
|---|
BoundingBox() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int x,
int y) |
int |
getArea() |
int |
getBottom() |
int |
getHeight() |
int |
getLeft() |
int |
getRight() |
int |
getTop() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setBottom(int bottom) |
void |
setLeft(int left) |
void |
setRight(int right) |
void |
setTop(int top) |
public int getLeft()
public void setLeft(int left)
public int getRight()
public void setRight(int right)
public int getTop()
public void setTop(int top)
public int getBottom()
public void setBottom(int bottom)
public int getWidth()
public int getHeight()
public int getX()
public int getY()
public int getArea()
public void add(int x,
int y)