mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
add additional settings() note (#4211)
This commit is contained in:
@@ -1258,6 +1258,9 @@ public class PApplet implements PConstants {
|
||||
// When running from the PDE, say setup(), otherwise say settings()
|
||||
final String where = external ? "setup" : "settings";
|
||||
PGraphics.showWarning("%s() can only be used inside %s()", method, where);
|
||||
if (external) {
|
||||
PGraphics.showWarning("When run from the PDE, %s() is automatically moved from setup() to settings()", method);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11145,9 +11148,9 @@ public class PApplet implements PConstants {
|
||||
/**
|
||||
* ( begin auto-generated from clip.xml )
|
||||
*
|
||||
* Limits the rendering to the boundaries of a rectangle defined
|
||||
* by the parameters. The boundaries are drawn based on the state
|
||||
* of the <b>imageMode()</b> fuction, either CORNER, CORNERS, or CENTER.
|
||||
* Limits the rendering to the boundaries of a rectangle defined
|
||||
* by the parameters. The boundaries are drawn based on the state
|
||||
* of the <b>imageMode()</b> fuction, either CORNER, CORNERS, or CENTER.
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user