|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGraphics2DTest.RectShape
Class RectShape defines the model datatype for a rectangle as an x/y position and a width/height.
Field Summary | |
int |
height
The height of this rect |
int |
width
The width of this rect |
int |
x
The x position of this rect |
int |
y
The y position of this rect |
Constructor Summary | |
Graphics2DTest.RectShape(int x,
int y,
int width,
int height)
Construct this with the given position and dimensions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int x
public int y
public int width
public int height
Constructor Detail |
public Graphics2DTest.RectShape(int x, int y, int width, int height)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |