mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
adding circle, square, push, pop
This commit is contained in:
@@ -12109,6 +12109,12 @@ public class PApplet implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
public void square(float x, float y, float extent) {
|
||||
if (recorder != null) recorder.square(x, y, extent);
|
||||
g.square(x, y, extent);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from ellipseMode.xml )
|
||||
*
|
||||
@@ -12197,6 +12203,12 @@ public class PApplet implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
public void circle(float x, float y, float extent) {
|
||||
if (recorder != null) recorder.circle(x, y, extent);
|
||||
g.circle(x, y, extent);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from box.xml )
|
||||
*
|
||||
@@ -13219,6 +13231,18 @@ public class PApplet implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
public void push() {
|
||||
if (recorder != null) recorder.push();
|
||||
g.push();
|
||||
}
|
||||
|
||||
|
||||
public void pop() {
|
||||
if (recorder != null) recorder.pop();
|
||||
g.pop();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from pushMatrix.xml )
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user