getHeight
public final int getHeight()
getWidth
public final int getWidth()
getX
public final int getX()
getY
public final int getY()
intersection
public final Rectangle intersection(Rectangle r)
intersects
public final boolean intersects(Rectangle r)
isEmpty
public final boolean isEmpty()
sameShape
public final boolean sameShape(Rectangle aRectangle)
setBounds
public final void setBounds(int x,
int y,
int width,
int height)
setBounds
public final void setBounds(Rectangle aRectangle)
setHeight
public final void setHeight(int height)
setLocation
public final void setLocation(int x,
int y)
setLocation
public final void setLocation(Point aPoint)
setSize
public final void setSize(int width,
int height)
setWidth
public final void setWidth(int width)
setX
public final void setX(int x)
setY
public final void setY(int y)
toString
public String toString()
translate
public final void translate(int x,
int y)
translate
public final void translate(Point aPoint)
union
public final Rectangle union(Rectangle r)