mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Correcting error to PApplet, I edited text in the auto-generated area
This commit is contained in:
@@ -10689,16 +10689,6 @@ public class PApplet implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from hint.xml )
|
||||
*
|
||||
* Description to come...
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
* @webref rendering
|
||||
* @param which the constant to enable or disable the hint
|
||||
*/
|
||||
public void hint(int which) {
|
||||
if (recorder != null) recorder.hint(which);
|
||||
g.hint(which);
|
||||
|
||||
@@ -1958,12 +1958,20 @@ public class PGraphics extends PImage implements PConstants {
|
||||
|
||||
// CLIPPING
|
||||
|
||||
/*
|
||||
* @webref rendering:shaders
|
||||
* @param a x-coordinate of the rectangle by default
|
||||
* @param b y-coordinate of the rectangle by default
|
||||
* @param c width of the rectangle by default
|
||||
* @param d height of the rectangle by default
|
||||
/**
|
||||
* ( 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.
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
* @webref rendering
|
||||
* @param a x-coordinate of the rectangle, by default
|
||||
* @param b y-coordinate of the rectangle, by default
|
||||
* @param c width of the rectangle, by default
|
||||
* @param d height of the rectangle, by default
|
||||
*/
|
||||
public void clip(float a, float b, float c, float d) {
|
||||
if (imageMode == CORNER) {
|
||||
@@ -2002,8 +2010,14 @@ public class PGraphics extends PImage implements PConstants {
|
||||
showMissingWarning("clip");
|
||||
}
|
||||
|
||||
/*
|
||||
* @webref rendering:shaders
|
||||
/**
|
||||
* ( begin auto-generated from noClip.xml )
|
||||
*
|
||||
* Disables the clipping previously started by the <b>clip()</b> function.
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
* @webref rendering
|
||||
*/
|
||||
public void noClip() {
|
||||
showMissingWarning("noClip");
|
||||
|
||||
Reference in New Issue
Block a user