mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
significant api cleaning and sorting things out for graphics
This commit is contained in:
@@ -4381,6 +4381,11 @@ v PApplet.this.stop();
|
||||
}
|
||||
|
||||
|
||||
public void loadPixels() {
|
||||
g.loadPixels();
|
||||
}
|
||||
|
||||
|
||||
public void updatePixels() {
|
||||
g.updatePixels();
|
||||
}
|
||||
@@ -4406,11 +4411,6 @@ v PApplet.this.stop();
|
||||
}
|
||||
|
||||
|
||||
public PImage get() {
|
||||
return g.get();
|
||||
}
|
||||
|
||||
|
||||
public void set(int x, int y, int c) {
|
||||
g.set(x, y, c);
|
||||
}
|
||||
@@ -4775,8 +4775,8 @@ v PApplet.this.stop();
|
||||
|
||||
|
||||
public void image(PImage image,
|
||||
float a, float b, float c, float d) {
|
||||
g.image(image, a, b, c, d);
|
||||
float x, float y, float c, float d) {
|
||||
g.image(image, x, y, c, d);
|
||||
}
|
||||
|
||||
|
||||
@@ -5272,4 +5272,14 @@ v PApplet.this.stop();
|
||||
public final float brightness(int what) {
|
||||
return g.brightness(what);
|
||||
}
|
||||
|
||||
|
||||
public void mask(int alpha[]) {
|
||||
g.mask(alpha);
|
||||
}
|
||||
|
||||
|
||||
public void mask(PImage alpha) {
|
||||
g.mask(alpha);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user