Modifier and Type | Field and Description |
---|---|
long |
bottom |
long |
left |
long |
right |
long |
top |
Constructor and Description |
---|
RectL() |
RectL(long pLeft,
long pTop,
long pRight,
long pBottom) |
RectL(RectL pOther) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(long x,
long y)
Returns true if (x,y) is inside the rectangle.
|
boolean |
equals(Object o) |
int |
hashCode() |
long |
height() |
void |
inset(long dx,
long dy) |
static boolean |
intersects(RectL a,
RectL b) |
void |
set(long pLeft,
long pTop,
long pRight,
long pBottom) |
void |
set(RectL pOther) |
String |
toString() |
void |
union(long x,
long y) |
long |
width() |
public long left
public long top
public long right
public long bottom
public RectL()
public RectL(long pLeft, long pTop, long pRight, long pBottom)
public RectL(RectL pOther)
public void set(long pLeft, long pTop, long pRight, long pBottom)
public void set(RectL pOther)
public void union(long x, long y)
public boolean contains(long x, long y)
public void inset(long dx, long dy)
public final long width()
public final long height()