add rounded rect to PApplet

This commit is contained in:
benfry
2011-08-31 22:38:54 +00:00
parent 7cb7265472
commit 0b8ae1f42d
@@ -7215,6 +7215,17 @@ public class PApplet extends Activity implements PConstants, Runnable {
}
public void rect(float a, float b, float c, float d, float r) {
g.rect(a, b, c, d, r);
}
public void rect(float a, float b, float c, float d,
float tl, float tr, float br, float bl) {
g.rect(a, b, c, d, tl, tr, br, bl);
}
public void ellipseMode(int mode) {
g.ellipseMode(mode);
}