|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the methods that a class must implement in order to be managed by the CSE 142 image project code.
| Method Summary | |
void |
addTo(uwcse.graphics.GWindow gw)
Add this pattern to a graphics window. |
uwcse.graphics.Rectangle |
getBoundingBox()
Get the dimensions of the smallest box that surrounds all of the objects in this pattern. |
int |
getHeight()
Get the height of the pattern's bounding box |
int |
getWidth()
Get the width of the pattern's bounding box |
int |
getX()
Return the X coordinate of the upper-left corner of the pattern's bounding box. |
int |
getY()
Return the Y coordinate of the upper-left corner of the pattern's bounding box. |
void |
removeFromWindow()
Remove this pattern from the window it is shown in. |
| Method Detail |
public void addTo(uwcse.graphics.GWindow gw)
gw - the graphics window to add this image topublic void removeFromWindow()
public uwcse.graphics.Rectangle getBoundingBox()
public int getHeight()
public int getWidth()
public int getX()
public int getY()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||