Class Rect
java.lang.Object
|
+--Rect
- All Implemented Interfaces:
- java.io.Serializable
- public class Rect
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Rect()
|
Rect(java.awt.geom.Rectangle2D r)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Rect
public Rect()
Rect
public Rect(java.awt.geom.Rectangle2D r)
setRect
public void setRect(int x,
int y,
int w,
int h)
getX
public int getX()
setX
public void setX(int x)
getY
public int getY()
setY
public void setY(int y)
getMaxY
public int getMaxY()
getWidth
public int getWidth()
setWidth
public void setWidth(int w)
getHeight
public int getHeight()
setHeight
public void setHeight(int h)
getRect
public Rect getRect()
getRectangle2D
public java.awt.geom.Rectangle2D getRectangle2D()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object