Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

import ...

import processing.core.*;

public class MyPApplet extends PApplet {


...
public void setup() {
...
} Display content
public void draw() {
...
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw() Coordinates of top left corner of image
{
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
g e
...
public void draw()
i ma
{
si ze
image(backgroundImg,0,0);
r e
}
d to
}
e e
N
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
backgroundImg.resize(50, 100);
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
backgroundImg.resize(50, 100);
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
backgroundImg.resize(200, 200);
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
backgroundImg.resize(0, height);
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
backgroundImg.resize(0, height);
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw() Dynamic!
{
backgroundImg.resize(0, height);
image(backgroundImg,0,0);
}
}
import processing.core.*;

public class MyPApplet extends PApplet


{
...
public void draw()
{
backgroundImg.resize(0, height);
image(backgroundImg,0,0);
}
}

Sun?

You might also like