Method which draws an Animation to the
screen.(It also updates the Animation's state.) It must be called
inside the Processing loop()
method each frame.
Prototype
draw();
Parameters
(none)
Return
(none)
Example
Animation test;
void setup()
{
size(400,100);
test = new Animation(this, loadImage("image.gif"), 100,40, 200,40);
test.showRectangle();
}
void loop()
{
background(127);
test.draw(); // places the image on the screen.
}