|
Beatmup Java package
|
Integer-valued rectangle. More...
Public Member Functions | |
| void | expandTo (int x, int y) |
| Expands the rectangle so that it have a given point inside or on the boundary. More... | |
| void | expand (int border) |
| Expands / contracts the rectangle. More... | |
| void | makeReal () |
| Flips rectangle corners so that its size become positive. More... | |
Integer-valued rectangle.
Definition at line 24 of file IntRectangle.java.
|
inline |
Expands the rectangle so that it have a given point inside or on the boundary.
| x | horizontal coordinate of the given point |
| y | horizontal coordinate of the given point |
Definition at line 58 of file IntRectangle.java.
|
inline |
Expands / contracts the rectangle.
| border | expansion size (if negative, contraction) |
Definition at line 74 of file IntRectangle.java.
|
inline |
Flips rectangle corners so that its size become positive.
Definition at line 92 of file IntRectangle.java.