|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Cartoon
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cartoon(Picture p)
p
- the picture to useMethod 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 |