Class Canvas
java.lang.Object
Canvas
public class Canvas
- extends Object
Method Summary |
static Canvas |
getInstance()
|
void |
pause()
Pauses so that the user can see the picture before it is transformed. |
void |
repaint()
|
void |
show(Shape s)
|
static void |
snapshot()
Takes a snapshot of the screen, fades it, and sets it as the background. |
Methods inherited from class |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static Canvas getInstance()
pause
public void pause()
- Pauses so that the user can see the picture before it is transformed.
repaint
public void repaint()
show
public void show(Shape s)
snapshot
public static void snapshot()
- Takes a snapshot of the screen, fades it, and sets it as the background.