public class RectI
extends java.lang.Object
Constructor and Description |
---|
RectI() |
RectI(int x0,
int y0,
int x1,
int y1) |
RectI(Rect r) |
RectI(RectI r) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y) |
boolean |
contains(Rect r) |
void |
inset(int dx,
int dy) |
void |
inset(int left,
int top,
int right,
int bottom) |
boolean |
isEmpty() |
boolean |
isInfinite() |
boolean |
isValid() |
void |
offset(int dx,
int dy) |
void |
offsetTo(int left,
int top) |
java.lang.String |
toString() |
RectI |
transform(Matrix tm) |
void |
union(RectI r) |
public RectI()
public RectI(int x0, int y0, int x1, int y1)
public RectI(RectI r)
public RectI(Rect r)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isInfinite()
public boolean contains(int x, int y)
public boolean contains(Rect r)
public boolean isEmpty()
public boolean isValid()
public void union(RectI r)
public void inset(int dx, int dy)
public void inset(int left, int top, int right, int bottom)
public void offset(int dx, int dy)
public void offsetTo(int left, int top)