Skip to content

Commit 818b9ba

Browse files
committed
Update for circle() and square() reference
1 parent 48b44cb commit 818b9ba

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

core/src/processing/core/PApplet.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12114,20 +12114,20 @@ public void rect(float a, float b, float c, float d,
1211412114
/**
1211512115
* ( begin auto-generated from square.xml )
1211612116
*
12117-
* Draws a square to the screen. A square is a four-sided shape with
12118-
* every angle at ninety degrees and each side is the same length.
12119-
* By default, the first two parameters set the location of the
12120-
* upper-left corner, the third sets the width and height. The way
12121-
* these parameters are interpreted, however, may be changed with the
12117+
* Draws a square to the screen. A square is a four-sided shape with
12118+
* every angle at ninety degrees and each side is the same length.
12119+
* By default, the first two parameters set the location of the
12120+
* upper-left corner, the third sets the width and height. The way
12121+
* these parameters are interpreted, however, may be changed with the
1212212122
* <b>rectMode()</b> function.
1212312123
*
1212412124
* ( end auto-generated )
1212512125
*
1212612126
* @webref shape:2d_primitives
12127-
* @param a x-coordinate of the rectangle by default
12128-
* @param b y-coordinate of the rectangle by default
12129-
* @param c width and height of the rectangle by default
12130-
* @see PGraphics#rect(int, int, int, int)
12127+
* @param x x-coordinate of the rectangle by default
12128+
* @param y y-coordinate of the rectangle by default
12129+
* @param extent width and height of the rectangle by default
12130+
* @see PGraphics#rect(float, float, float, float)
1213112131
* @see PGraphics#rectMode(int)
1213212132
*/
1213312133
public void square(float x, float y, float extent) {
@@ -12227,16 +12227,16 @@ public void arc(float a, float b, float c, float d,
1222712227
/**
1222812228
* ( begin auto-generated from circle.xml )
1222912229
*
12230-
* Draws a circle to the screen. By default, the first two parameters
12231-
* set the location of the center, and the third sets the shape's width
12232-
* and height. The origin may be changed with the <b>ellipseMode()</b>
12230+
* Draws a circle to the screen. By default, the first two parameters
12231+
* set the location of the center, and the third sets the shape's width
12232+
* and height. The origin may be changed with the <b>ellipseMode()</b>
1223312233
* function.
1223412234
*
1223512235
* ( end auto-generated )
1223612236
* @webref shape:2d_primitives
12237-
* @param a x-coordinate of the ellipse
12238-
* @param b y-coordinate of the ellipse
12239-
* @param c width and height of the ellipse by default
12237+
* @param x x-coordinate of the ellipse
12238+
* @param y y-coordinate of the ellipse
12239+
* @param extent width and height of the ellipse by default
1224012240
* @see PApplet#ellipse(float, float, float, float)
1224112241
* @see PApplet#ellipseMode(int)
1224212242
*/

core/src/processing/core/PGraphics.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,10 +2742,10 @@ protected void rectImpl(float x1, float y1, float x2, float y2,
27422742
* ( end auto-generated )
27432743
*
27442744
* @webref shape:2d_primitives
2745-
* @param a x-coordinate of the rectangle by default
2746-
* @param b y-coordinate of the rectangle by default
2747-
* @param c width and height of the rectangle by default
2748-
* @see PGraphics#rect(int, int, int, int)
2745+
* @param x x-coordinate of the rectangle by default
2746+
* @param y y-coordinate of the rectangle by default
2747+
* @param extent width and height of the rectangle by default
2748+
* @see PGraphics#rect(float, float, float, float)
27492749
* @see PGraphics#rectMode(int)
27502750
*/
27512751
public void square(float x, float y, float extent) {
@@ -2938,9 +2938,9 @@ protected void arcImpl(float x, float y, float w, float h,
29382938
*
29392939
* ( end auto-generated )
29402940
* @webref shape:2d_primitives
2941-
* @param a x-coordinate of the ellipse
2942-
* @param b y-coordinate of the ellipse
2943-
* @param c width and height of the ellipse by default
2941+
* @param x x-coordinate of the ellipse
2942+
* @param y y-coordinate of the ellipse
2943+
* @param extent width and height of the ellipse by default
29442944
* @see PApplet#ellipse(float, float, float, float)
29452945
* @see PApplet#ellipseMode(int)
29462946
*/

0 commit comments

Comments
 (0)