diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 0023e2ce2..4c0821d6d 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -11697,7 +11697,7 @@ public class PApplet implements PConstants { * * Limits the rendering to the boundaries of a rectangle defined * by the parameters. The boundaries are drawn based on the state - * of the imageMode() fuction, either CORNER, CORNERS, or CENTER. + * of the imageMode() function, either CORNER, CORNERS, or CENTER. * * * @webref rendering @@ -12035,7 +12035,7 @@ public class PApplet implements PConstants { /** * * Modifies the location from which rectangles are drawn by changing the way in - * which parameters given to rect() are intepreted.
+ * which parameters given to rect() are interpreted.
*
* The default mode is rectMode(CORNER), which interprets the first two * parameters of rect() as the upper-left corner of the shape, while the @@ -12148,7 +12148,7 @@ public class PApplet implements PConstants { /** * * Modifies the location from which ellipses are drawn by changing the way in - * which parameters given to ellipse() are intepreted.
+ * which parameters given to ellipse() are interpreted.
*
* The default mode is ellipseMode(CENTER), which interprets the first * two parameters of ellipse() as the shape's center point, while the @@ -12336,7 +12336,7 @@ public class PApplet implements PConstants { /** - * @param ures number of segments used longitudinally per full circle revolutoin + * @param ures number of segments used longitudinally per full circle revolution * @param vres number of segments used latitudinally from top to bottom */ public void sphereDetail(int ures, int vres) { @@ -13362,7 +13362,7 @@ public class PApplet implements PConstants { * understanding the concept of a matrix stack. The pushMatrix() * function saves the current coordinate system to the stack and * popMatrix() restores the prior coordinate system. - * pushMatrix() and popMatrix() are used in conjunction with + * pushMatrix() and popMatrix() are used in conjuction with * the other transformation functions and may be embedded to control the * scope of the transformations. * @@ -13390,7 +13390,7 @@ public class PApplet implements PConstants { * a matrix stack. The pushMatrix() function saves the current * coordinate system to the stack and popMatrix() restores the prior * coordinate system. pushMatrix() and popMatrix() are used - * in conjunction with the other transformation functions and may be + * in conjuction with the other transformation functions and may be * embedded to control the scope of the transformations. * * @@ -13759,6 +13759,7 @@ public class PApplet implements PConstants { * @webref transform * @webBrief Multiplies the current matrix by the one specified through the * parameters. + * @source * @see PGraphics#pushMatrix() * @see PGraphics#popMatrix() * @see PGraphics#resetMatrix() @@ -14777,9 +14778,8 @@ public class PApplet implements PConstants { /** - * * Sets the specular color of the materials used for shapes drawn to the - * screen, which sets the color of hightlights. Specular refers to light + * screen, which sets the color of highlights. Specular refers to light * which bounces off a surface in a preferred direction (rather than * bouncing in all directions like a diffuse light). Used in combination * with emissive(), ambient(), and shininess() in @@ -14788,7 +14788,7 @@ public class PApplet implements PConstants { * * @webref lights_camera:material_properties * @webBrief Sets the specular color of the materials used for shapes drawn to the - * screen, which sets the color of hightlights. + * screen, which sets the color of highlights. * @usage web_application * @param rgb color to set * @see PGraphics#lightSpecular(float, float, float) @@ -15131,7 +15131,7 @@ public class PApplet implements PConstants { * * Sets the specular color for lights. Like fill(), it affects only * the elements which are created after it in the code. Specular refers to - * light which bounces off a surface in a preferred direction (rather than + * light which bounces off a surface in a perferred direction (rather than * bouncing in all directions like a diffuse light) and is used for * creating highlights. The specular quality of a light interacts with the * specular material qualities set through the specular() and @@ -15955,8 +15955,8 @@ public class PApplet implements PConstants { * @param sy Y coordinate of the source's upper left corner * @param sw source image width * @param sh source image height - * @param dx X coordinate of the destination's upper left corner - * @param dy Y coordinate of the destination's upper left corner + * @param dx X coordinate of the destinations's upper left corner + * @param dy Y coordinate of the destinations's upper left corner * @param dw destination image width * @param dh destination image height * @param mode Either BLEND, ADD, SUBTRACT, LIGHTEST, DARKEST, DIFFERENCE, EXCLUSION, MULTIPLY, SCREEN, OVERLAY, HARD_LIGHT, SOFT_LIGHT, DODGE, BURN diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index c084dac30..b2b68dcc6 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -2647,7 +2647,7 @@ public class PGraphics extends PImage implements PConstants { /** * * Modifies the location from which rectangles are drawn by changing the way in - * which parameters given to rect() are intepreted.
+ * which parameters given to rect() are interpreted.
*
* The default mode is rectMode(CORNER), which interprets the first two * parameters of rect() as the upper-left corner of the shape, while the @@ -2890,7 +2890,7 @@ public class PGraphics extends PImage implements PConstants { *
* ellipseMode(RADIUS) also uses the first two parameters of * ellipse() as the shape's center point, but uses the third and fourth - * parameters to specify half of the shapes's width and height.
+ * parameters to specify half of the shape's width and height.
*
* ellipseMode(CORNER) interprets the first two parameters of * ellipse() as the upper-left corner of the shape, while the third and @@ -3207,7 +3207,7 @@ public class PGraphics extends PImage implements PConstants { /** - * @param ures number of segments used longitudinally per full circle revolutoin + * @param ures number of segments used longitudinally per full circle revolution * @param vres number of segments used latitudinally from top to bottom */ public void sphereDetail(int ures, int vres) { @@ -3407,7 +3407,7 @@ public class PGraphics extends PImage implements PConstants { * * *

Advanced

- * Code submitted by Dave Bollinger (davol) for release 0136. + * Code submitted by Dave Bollinger (davbol) for release 0136. * * @webref shape:curves * @webBrief Calculates the tangent of a point on a Bezier curve. @@ -3567,7 +3567,7 @@ public class PGraphics extends PImage implements PConstants { * * * @webref shape:curves - * @webBrief Evalutes the curve at point t for points a, b, c, d. + * @webBrief Evaluates the curve at point t for points a, b, c, d. * @param a coordinate of first control point * @param b coordinate of first point on the curve * @param c coordinate of second point on the curve @@ -3690,7 +3690,7 @@ public class PGraphics extends PImage implements PConstants { *

* (This function is not optimized, since it's not expected to * be called all that often. there are many juicy and obvious - * opimizations in here, but it's probably better to keep the + * optimizations in here, but it's probably better to keep the * code more readable) */ protected void curveInit() { @@ -4784,7 +4784,7 @@ public class PGraphics extends PImage implements PConstants { * Method to draw text from an array of chars. This method will usually be * more efficient than drawing from a String object, because the String will * not be converted to a char array before drawing. - * @param chars the alphanumberic symbols to be displayed + * @param chars the alphanumeric symbols to be displayed * @param start array index at which to start writing characters * @param stop array index at which to stop writing characters */ @@ -5367,7 +5367,7 @@ public class PGraphics extends PImage implements PConstants { * understanding the concept of a matrix stack. The pushMatrix() * function saves the current coordinate system to the stack and * popMatrix() restores the prior coordinate system. - * pushMatrix() and popMatrix() are used in conjuction with + * pushMatrix() and popMatrix() are used in conjunction with * the other transformation functions and may be embedded to control the * scope of the transformations. * @@ -5467,7 +5467,7 @@ public class PGraphics extends PImage implements PConstants { * Transformations apply to everything that happens after and subsequent * calls to the function accumulates the effect. For example, calling * rotate(HALF_PI) and then rotate(HALF_PI) is the same as - * rotate(PI). All tranformations are reset when draw() + * rotate(PI). All transformations are reset when draw() * begins again. *

* Technically, rotate() multiplies the current transformation @@ -7008,10 +7008,9 @@ public class PGraphics extends PImage implements PConstants { } /** - * * Sets the specular color of the materials used for shapes drawn to the - * screen, which sets the color of hightlights. Specular refers to light - * which bounces off a surface in a perferred direction (rather than + * screen, which sets the color of highlights. Specular refers to light + * which bounces off a surface in a preferred direction (rather than * bouncing in all directions like a diffuse light). Used in combination * with emissive(), ambient(), and shininess() in * setting the material properties of shapes. @@ -7019,7 +7018,7 @@ public class PGraphics extends PImage implements PConstants { * * @webref lights_camera:material_properties * @webBrief Sets the specular color of the materials used for shapes drawn to the - * screen, which sets the color of hightlights. + * screen, which sets the color of highlights. * @usage web_application * @param rgb color to set * @see PGraphics#lightSpecular(float, float, float)