mirror of
https://github.com/processing/processing4.git
synced 2026-06-09 09:03:17 +02:00
more cleanups
This commit is contained in:
@@ -9226,7 +9226,7 @@ public class PApplet extends Activity implements PConstants, Runnable {
|
||||
* built with Processing.</P>
|
||||
*/
|
||||
static public int blendColor(int c1, int c2, int mode) {
|
||||
return PImage.blendColor(c1, c2, mode);
|
||||
return PGraphics.blendColor(c1, c2, mode);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
0208 android
|
||||
0208 android (2.0a9)
|
||||
X inherited PShape API changes from the desktop version
|
||||
|
||||
|
||||
|
||||
@@ -11343,17 +11343,17 @@ public class PApplet extends Applet
|
||||
*
|
||||
* @webref shape:loading_displaying
|
||||
* @param shape the shape to display
|
||||
* @param a x-coordinate of the shape
|
||||
* @param b y-coordinate of the shape
|
||||
* @param x x-coordinate of the shape
|
||||
* @param y y-coordinate of the shape
|
||||
* @see PShape
|
||||
* @see PApplet#loadShape(String)
|
||||
* @see PGraphics#shapeMode(int)
|
||||
*
|
||||
* Convenience method to draw at a particular location.
|
||||
*/
|
||||
public void shape(PShape shape, float a, float b) {
|
||||
if (recorder != null) recorder.shape(shape, a, b);
|
||||
g.shape(shape, a, b);
|
||||
public void shape(PShape shape, float x, float y) {
|
||||
if (recorder != null) recorder.shape(shape, x, y);
|
||||
g.shape(shape, x, y);
|
||||
}
|
||||
|
||||
|
||||
@@ -14433,7 +14433,7 @@ public class PApplet extends Applet
|
||||
* @see PApplet#color(float, float, float, float)
|
||||
*/
|
||||
static public int blendColor(int c1, int c2, int mode) {
|
||||
return PImage.blendColor(c1, c2, mode);
|
||||
return PGraphics.blendColor(c1, c2, mode);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
0208 core
|
||||
0208 core (2.0a9)
|
||||
X several constants moved out of PConstants and into PGraphics
|
||||
X API cleanup to PShape and unapproved methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user