|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectCartoon
Class to create a cartoon out of a picture
| Constructor Summary | |
Cartoon(Picture p)
Constructor that takes the picture |
|
| Method Summary | |
void |
addWordBalloon(java.lang.String message,
int xPos,
int yPos)
Method to add a word balloon that contians the message |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Cartoon(Picture p)
p - the picture to use| Method Detail |
public void addWordBalloon(java.lang.String message,
int xPos,
int yPos)
message - the text to showxPos - the top left for the word balloonyPos - the top left for the word balloonpublic static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||