From 388fe40aedccb78ae774a5c15217a3685cfb3cec Mon Sep 17 00:00:00 2001
From: Anadroid
* An amount below 0 will be treated as 0. Likewise, amounts above 1 will be
- * capped at 1. This is different from the behavior of lerp(), but necessary
+ * capped at 1. This is different from the behavior of lerp(), but necessary
* because otherwise numbers outside the range will produce strange and
* unexpected colors.
*
@@ -12010,7 +12010,7 @@ public void triangle(float x1, float y1, float x2, float y2,
*
* A quad is a quadrilateral, a four sided polygon. It is similar to a
* rectangle, but the angles between its edges are not constrained to
- * ninety degrees. The first pair of parameters (x1,y1) sets the first
+ * ninety degrees. The first pair of parameters (x1,y1) sets the first
* vertex and the subsequent pairs should proceed clockwise or
* counter-clockwise around the defined shape.
*
@@ -14012,7 +14012,7 @@ public void printCamera() {
* the clipping volume where left and right are the minimum and maximum x
* values, top and bottom are the minimum and maximum y values, and near and far
* are the minimum and maximum z values. If no parameters are given, the default
- * is used: ortho(-width/2, width/2, -height/2, height/2).
+ * is used: ortho(-width/2, width/2, -height/2, height/2).
*
*
* @webref lights_camera:camera
@@ -14060,8 +14060,8 @@ public void ortho(float left, float right,
* accurately than orthographic projection. The version of perspective
* without parameters sets the default perspective and the version with
* four parameters allows the programmer to set the area precisely. The
- * default values are: perspective(PI/3.0, width/height, cameraZ/10.0,
- * cameraZ*10.0) where cameraZ is ((height/2.0) / tan(PI*60.0/360.0));
+ * default values are: perspective(PI/3.0, width/height, cameraZ/10.0,
+ * cameraZ*10.0) where cameraZ is ((height/2.0) / tan(PI*60.0/360.0));
*
*
* @webref lights_camera:camera
@@ -14233,8 +14233,8 @@ public float screenZ(float x, float y, float z) {
* In the example, the modelX(), modelY(), and
* modelZ() functions record the location of a box in space after
* being placed using a series of translate and rotate commands. After
- * popMatrix() is called, those transformations no longer apply, but the
- * (x, y, z) coordinate returned by the model functions is used to place
+ * popMatrix() is called, those transformations no longer apply, but the
+ * (x, y, z) coordinate returned by the model functions is used to place
* another box in the same location.
*
*
@@ -14262,8 +14262,8 @@ public float modelX(float x, float y, float z) {
* In the example, the modelX(), modelY(), and
* modelZ() functions record the location of a box in space after
* being placed using a series of translate and rotate commands. After
- * popMatrix() is called, those transformations no longer apply, but the
- * (x, y, z) coordinate returned by the model functions is used to place
+ * popMatrix() is called, those transformations no longer apply, but the
+ * (x, y, z) coordinate returned by the model functions is used to place
* another box in the same location.
*
*
@@ -14291,8 +14291,8 @@ public float modelY(float x, float y, float z) {
* In the example, the modelX(), modelY(), and
* modelZ() functions record the location of a box in space after
* being placed using a series of translate and rotate commands. After
- * popMatrix() is called, those transformations no longer apply, but the
- * (x, y, z) coordinate returned by the model functions is used to place
+ * popMatrix() is called, those transformations no longer apply, but the
+ * (x, y, z) coordinate returned by the model functions is used to place
* another box in the same location.
*
*
@@ -14321,10 +14321,10 @@ public float modelZ(float x, float y, float z) {
*
* The style information controlled by the following functions are included
* in the style:
- * fill(), stroke(), tint(), strokeWeight(), strokeCap(), strokeJoin(),
- * imageMode(), rectMode(), ellipseMode(), shapeMode(), colorMode(),
- * textAlign(), textFont(), textMode(), textSize(), textLeading(),
- * emissive(), specular(), shininess(), ambient()
+ * fill(), stroke(), tint(), strokeWeight(), strokeCap(),strokeJoin(),
+ * imageMode(), rectMode(), ellipseMode(), shapeMode(), colorMode(),
+ * textAlign(), textFont(), textMode(), textSize(), textLeading(),
+ * emissive(), specular(), shininess(), ambient()
*
*
* @webref structure
@@ -14369,7 +14369,7 @@ public void style(PStyle s) {
* Sets the width of the stroke used for lines, points, and the border around
* shapes. All widths are set in units of pixels.
*
- * Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
+ * Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
* depending on the graphics settings of the computer. Workarounds include
* setting the pixel using set() or drawing the point using either
* circle() or square().
@@ -14471,7 +14471,7 @@ public void noStroke() {
*
* When drawing in 2D with the default renderer, you may need
* hint(ENABLE_STROKE_PURE) to improve drawing quality (at the expense of
- * performance). See the hint() documentation for more details.
+ * performance). See the hint() documentation for more details.
*
* @webref color:setting
* @webBrief Sets the color used to draw lines and borders around shapes.
@@ -14893,10 +14893,10 @@ public void emissive(float v1, float v2, float v3) {
/**
*
* Sets the default ambient light, directional light, falloff, and specular
- * values. The defaults are ambientLight(128, 128, 128) and
- * directionalLight(128, 128, 128, 0, 0, -1), lightFalloff(1, 0, 0), and
- * lightSpecular(0, 0, 0). Lights need to be included in the draw() to
- * remain persistent in a looping program. Placing them in the setup() of a
+ * values. The defaults are ambientLight(128, 128, 128) and
+ * directionalLight(128, 128, 128, 0, 0, -1), lightFalloff(1, 0, 0), and
+ * lightSpecular(0, 0, 0). Lights need to be included in the draw() to
+ * remain persistent in a looping program. Placing them in the setup() of a
* looping program will cause them to only have an effect the first time
* through the loop.
*
@@ -15906,16 +15906,16 @@ public void blend(int sx, int sy, int sw, int sh,
* of the following modes to blend the colors of source pixels (A) with the
* ones of pixels in the destination image (B):
*
- * BLEND - linear interpolation of colours: C = A*factor + B
+ * BLEND - linear interpolation of colours: C = A*factor + B
*
- * ADD - additive blending with white clip: C = min(A*factor + B, 255)
+ * ADD - additive blending with white clip: C = min(A*factor + B, 255)
*
- * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor,
- * 0)
+ * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor,
+ * 0)
*
- * DARKEST - only the darkest colour succeeds: C = min(A*factor, B)
+ * DARKEST - only the darkest colour succeeds: C = min(A*factor, B)
*
- * LIGHTEST - only the lightest colour succeeds: C = max(A*factor, B)
+ * LIGHTEST - only the lightest colour succeeds: C = max(A*factor, B)
*
* DIFFERENCE - subtract colors from underlying image.
*
diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java
index 6d0f5a75bc..1921711b13 100644
--- a/core/src/processing/core/PGraphics.java
+++ b/core/src/processing/core/PGraphics.java
@@ -871,7 +871,7 @@ public void removeCache(PImage image) { // ignore
/**
*
- * Sets the default properties for a PGraphics object. It should be called
+ * Sets the default properties for a PGraphics object. It should be called
* before anything is drawn into the object.
*
* Advanced
@@ -879,7 +879,7 @@ public void removeCache(PImage image) { // ignore
* drawing anything.
*
* @webref pgraphics:method
- * @webBrief Sets the default properties for a PGraphics object.
+ * @webBrief Sets the default properties for a PGraphics object.
*/
public void beginDraw() { // ignore
}
@@ -887,7 +887,7 @@ public void beginDraw() { // ignore
/**
*
- * Finalizes the rendering of a PGraphics object so that it can be shown on screen.
+ * Finalizes the rendering of a PGraphics object so that it can be shown on screen.
*
* Advanced
*
@@ -895,7 +895,7 @@ public void beginDraw() { // ignore
* you're finished drawing.
*
* @webref pgraphics:method
- * @webBrief Finalizes the rendering of a PGraphics object so that it can be shown on screen.
+ * @webBrief Finalizes the rendering of a PGraphics object so that it can be shown on screen.
* @brief Finalizes the rendering of a PGraphics object
*/
public void endDraw() { // ignore
@@ -1068,64 +1068,64 @@ protected void reapplySettings() {
* manner across renderers. Many options will often graduate to standard
* features instead of hints over time.
*
- * hint(ENABLE_OPENGL_4X_SMOOTH) - Enable 4x anti-aliasing for P3D. This
+ * hint(ENABLE_OPENGL_4X_SMOOTH)- Enable 4x anti-aliasing for P3D. This
* can help force anti-aliasing if it has not been enabled by the user. On
* some graphics cards, this can also be set by the graphics driver's
* control panel, however not all cards make this available. This hint must
- * be called immediately after the size() command because it resets the
- * renderer, obliterating any settings and anything drawn (and like size(),
+ * be called immediately after the size() command because it resets the
+ * renderer, obliterating any settings and anything drawn (and like size(),
* re-running the code that came before it again).
*
- * hint(DISABLE_OPENGL_2X_SMOOTH) - In Processing 1.0, Processing always
+ * hint(DISABLE_OPENGL_2X_SMOOTH) - In Processing 1.0, Processing always
* enables 2x smoothing when the P3D renderer is used. This hint disables
* the default 2x smoothing and returns the smoothing behavior found in
- * earlier releases, where smooth() and noSmooth() could be used to enable
+ * earlier releases, where smooth() and noSmooth() could be used to enable
* and disable smoothing, though the quality was inferior.
*
- * hint(ENABLE_NATIVE_FONTS) - Use the native version fonts when they are
+ * hint(ENABLE_NATIVE_FONTS) - Use the native version fonts when they are
* installed, rather than the bitmapped version from a .vlw file. This is
* useful with the default (or JAVA2D) renderer setting, as it will improve
* font rendering speed. This is not enabled by default, because it can be
* misleading while testing because the type will look great on your
* machine (because you have the font installed) but lousy on others'
* machines if the identical font is unavailable. This option can only be
- * set per-sketch, and must be called before any use of textFont().
+ * set per-sketch, and must be called before any use of textFont().
*
- * hint(DISABLE_DEPTH_TEST) - Disable the zbuffer, allowing you to draw on
+ * hint(DISABLE_DEPTH_TEST) - Disable the zbuffer, allowing you to draw on
* top of everything at will. When depth testing is disabled, items will be
* drawn to the screen sequentially, like a painting. This hint is most
* often used to draw in 3D, then draw in 2D on top of it (for instance, to
* draw GUI controls in 2D on top of a 3D interface). Starting in release
* 0149, this will also clear the depth buffer. Restore the default with
- * hint(ENABLE_DEPTH_TEST), but note that with the depth buffer cleared,
- * any 3D drawing that happens later in draw() will ignore existing shapes
+ * hint(ENABLE_DEPTH_TEST), but note that with the depth buffer cleared,
+ * any 3D drawing that happens later in draw() will ignore existing shapes
* on the screen.
*
- * hint(ENABLE_DEPTH_SORT) - Enable primitive z-sorting of triangles and
+ * hint(ENABLE_DEPTH_SORT) - Enable primitive z-sorting of triangles and
* lines in P3D and OPENGL. This can slow performance considerably, and the
- * algorithm is not yet perfect. Restore the default with hint(DISABLE_DEPTH_SORT).
+ * algorithm is not yet perfect. Restore the default with hint(DISABLE_DEPTH_SORT).
*
- * hint(DISABLE_OPENGL_ERROR_REPORT) - Speeds up the P3D renderer setting
- * by not checking for errors while running. Undo with hint(ENABLE_OPENGL_ERROR_REPORT).
+ * hint(DISABLE_OPENGL_ERROR_REPORT) - Speeds up the P3D renderer setting
+ * by not checking for errors while running. Undo with hint(ENABLE_OPENGL_ERROR_REPORT).
*
- * hint(ENABLE_BUFFER_READING) - Depth and stencil buffers in P2D/P3D will be
+ * hint(ENABLE_BUFFER_READING) - Depth and stencil buffers in P2D/P3D will be
* down-sampled to make PGL#readPixels work with multisampling. Enabling this
* introduces some overhead, so if you experience bad performance, disable
- * multisampling with noSmooth() instead. This hint is not intended to be
- * enabled and disabled repeatedly, so call this once in setup() or after
+ * multisampling with noSmooth() instead. This hint is not intended to be
+ * enabled and disabled repeatedly, so call this once in setup() or after
* creating your PGraphics2D/3D. You can restore the default with
- * hint(DISABLE_BUFFER_READING) if you don't plan to read depth from
- * this PGraphics anymore.
+ * hint(DISABLE_BUFFER_READING) if you don't plan to read depth from
+ * this PGraphics anymore.
*
- * hint(ENABLE_KEY_REPEAT) - Auto-repeating key events are discarded
+ * hint(ENABLE_KEY_REPEAT) - Auto-repeating key events are discarded
* by default (works only in P2D/P3D); use this hint to get all the key events
- * (including auto-repeated). Call hint(DISABLE_KEY_REPEAT) to get events
+ * (including auto-repeated). Call hint(DISABLE_KEY_REPEAT) to get events
* only when the key goes physically up or down.
*
- * hint(DISABLE_ASYNC_SAVEFRAME) - P2D/P3D only - save() and saveFrame()
+ * hint(DISABLE_ASYNC_SAVEFRAME) - P2D/P3D only - save() and saveFrame()
* will not use separate threads for saving and will block until the image
* is written to the drive. This was the default behavior in 3.0b7 and before.
- * To enable, call hint(ENABLE_ASYNC_SAVEFRAME).
+ * To enable, call hint(ENABLE_ASYNC_SAVEFRAME).
*
* @webref rendering
* @webBrief Set various hints and hacks for the renderer.
@@ -2107,15 +2107,15 @@ public void noClip() {
* channel of (A) and (B) independently. The red channel is compared with
* red, green with green, and blue with blue.
*
- * BLEND - linear interpolation of colors: C = A*factor + B. This is the default.
+ * BLEND - linear interpolation of colors: C = A*factor + B. This is the default.
*
- * ADD - additive blending with white clip: C = min(A*factor + B, 255)
+ * ADD - additive blending with white clip: C = min(A*factor + B, 255)
*
- * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor, 0)
+ * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor, 0)
*
- * DARKEST - only the darkest color succeeds: C = min(A*factor, B)
+ * DARKEST - only the darkest color succeeds: C = min(A*factor, B)
*
- * LIGHTEST - only the lightest color succeeds: C = max(A*factor, B)
+ * LIGHTEST - only the lightest color succeeds: C = max(A*factor, B)
*
* DIFFERENCE - subtract colors from underlying image.
*
@@ -5764,7 +5764,7 @@ public void resetMatrix() {
* Multiplies the current matrix by the one specified through the
* parameters. This is very slow because it will try to calculate the
* inverse of the transform, so avoid it whenever possible. The equivalent
- * function in OpenGL is glMultMatrix().
+ * function in OpenGL is glMultMatrix().
*
*
* @webref transform
@@ -6034,7 +6034,7 @@ public void printCamera() {
* the clipping volume where left and right are the minimum and maximum x
* values, top and bottom are the minimum and maximum y values, and near and far
* are the minimum and maximum z values. If no parameters are given, the default
- * is used: ortho(-width/2, width/2, -height/2, height/2).
+ * is used: ortho(-width/2, width/2, -height/2, height/2).
*
*
* @webref lights_camera:camera
@@ -6076,8 +6076,8 @@ public void ortho(float left, float right,
* accurately than orthographic projection. The version of perspective
* without parameters sets the default perspective and the version with
* four parameters allows the programmer to set the area precisely. The
- * default values are: perspective(PI/3.0, width/height, cameraZ/10.0,
- * cameraZ*10.0) where cameraZ is ((height/2.0) / tan(PI*60.0/360.0));
+ * default values are: perspective(PI/3.0, width/height, cameraZ/10.0,
+ * cameraZ*10.0) where cameraZ is ((height/2.0) / tan(PI*60.0/360.0))
*
*
* @webref lights_camera:camera
@@ -6254,8 +6254,8 @@ public float screenZ(float x, float y, float z) {
* In the example, the modelX(), modelY(), and
* modelZ() functions record the location of a box in space after
* being placed using a series of translate and rotate commands. After
- * popMatrix() is called, those transformations no longer apply, but the
- * (x, y, z) coordinate returned by the model functions is used to place
+ * popMatrix() is called, those transformations no longer apply, but the
+ * (x, y, z) coordinate returned by the model functions is used to place
* another box in the same location.
*
*
@@ -6284,8 +6284,8 @@ public float modelX(float x, float y, float z) {
* In the example, the modelX(), modelY(), and
* modelZ() functions record the location of a box in space after
* being placed using a series of translate and rotate commands. After
- * popMatrix() is called, those transformations no longer apply, but the
- * (x, y, z) coordinate returned by the model functions is used to place
+ * popMatrix() is called, those transformations no longer apply, but the
+ * (x, y, z) coordinate returned by the model functions is used to place
* another box in the same location.
*
*
@@ -6314,8 +6314,8 @@ public float modelY(float x, float y, float z) {
* In the example, the modelX(), modelY(), and
* modelZ() functions record the location of a box in space after
* being placed using a series of translate and rotate commands. After
- * popMatrix() is called, those transformations no longer apply, but the
- * (x, y, z) coordinate returned by the model functions is used to place
+ * popMatrix() is called, those transformations no longer apply, but the
+ * (x, y, z) coordinate returned by the model functions is used to place
* another box in the same location.
*
*
@@ -6350,10 +6350,10 @@ public float modelZ(float x, float y, float z) {
*
* The style information controlled by the following functions are included
* in the style:
- * fill(), stroke(), tint(), strokeWeight(), strokeCap(), strokeJoin(),
- * imageMode(), rectMode(), ellipseMode(), shapeMode(), colorMode(),
- * textAlign(), textFont(), textMode(), textSize(), textLeading(),
- * emissive(), specular(), shininess(), ambient()
+ * fill(), stroke(), tint(), strokeWeight(), strokeCap(),strokeJoin(),
+ * imageMode(), rectMode(), ellipseMode(), shapeMode(), colorMode(),
+ * textAlign(), textFont(), textMode(), textSize(), textLeading(),
+ * emissive(), specular(), shininess(), ambient()
*
*
* @webref structure
@@ -7169,10 +7169,10 @@ protected void emissiveFromCalc() {
/**
*
* Sets the default ambient light, directional light, falloff, and specular
- * values. The defaults are ambientLight(128, 128, 128) and
- * directionalLight(128, 128, 128, 0, 0, -1), lightFalloff(1, 0, 0), and
- * lightSpecular(0, 0, 0). Lights need to be included in the draw() to
- * remain persistent in a looping program. Placing them in the setup() of a
+ * values. The defaults are ambientLight(128, 128, 128) and
+ * directionalLight(128, 128, 128, 0, 0, -1), lightFalloff(1, 0, 0), and
+ * lightSpecular(0, 0, 0). Lights need to be included in the draw() to
+ * remain persistent in a looping program. Placing them in the setup() of a
* looping program will cause them to only have an effect the first time
* through the loop.
*
@@ -8223,7 +8223,7 @@ public final float brightness(int rgb) {
* equal to the first point, 0.1 is very near the first point, 0.5 is halfway in
* between, etc.
* An amount below 0 will be treated as 0. Likewise, amounts above 1 will be
- * capped at 1. This is different from the behavior of lerp(), but necessary
+ * capped at 1. This is different from the behavior of lerp(), but necessary
* because otherwise numbers outside the range will produce strange and
* unexpected colors.
*
diff --git a/core/src/processing/core/PImage.java b/core/src/processing/core/PImage.java
index e3add33cbb..05933fd643 100644
--- a/core/src/processing/core/PImage.java
+++ b/core/src/processing/core/PImage.java
@@ -83,7 +83,7 @@ public class PImage implements PConstants, Cloneable {
/**
*
- * The pixels[] array contains the values for all the pixels in the image. These
+ * The pixels[] array contains the values for all the pixels in the image. These
* values are of the color datatype. This array is the size of the image,
* meaning if the image is 100 x 100 pixels, there will be 10,000 values and if
* the window is 200 x 300 pixels, there will be 60,000 values.
@@ -464,12 +464,12 @@ public Object clone() throws CloneNotSupportedException { // ignore
* Resize the image to a new width and height. To make the image scale
* proportionally, use 0 as the value for the wide or high
* parameter. For instance, to make the width of an image 150 pixels, and
- * change the height using the same proportion, use resize(150, 0).
+ * change the height using the same proportion, use resize(150, 0).
*
- * Even though a PGraphics is technically a PImage, it is not possible to
- * rescale the image data found in a PGraphics. (It's simply not possible
+ * Even though a PGraphics is technically a PImage, it is not possible to
+ * rescale the image data found in a PGraphics. (It's simply not possible
* to do this consistently across renderers: technically infeasible with
- * P3D, or what would it even do with PDF?) If you want to resize PGraphics
+ * P3D, or what would it even do with PDF?) If you want to resize PGraphics
* content, first get a copy of its image data using the get()
* method, and call resize() on the PImage that is returned.
*
@@ -1631,16 +1631,16 @@ public void blend(int sx, int sy, int sw, int sh,
* of the following modes to blend the colors of source pixels (A) with the
* ones of pixels in the destination image (B):
*
- * BLEND - linear interpolation of colours: C = A*factor + B
+ * BLEND - linear interpolation of colours: C = A*factor + B
*
- * ADD - additive blending with white clip: C = min(A*factor + B, 255)
+ * ADD - additive blending with white clip: C = min(A*factor + B, 255)
*
- * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor,
- * 0)
+ * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor,
+ * 0)
*
- * DARKEST - only the darkest colour succeeds: C = min(A*factor, B)
+ * DARKEST - only the darkest colour succeeds: C = min(A*factor, B)
*
- * LIGHTEST - only the lightest colour succeeds: C = max(A*factor, B)
+ * LIGHTEST - only the lightest colour succeeds: C = max(A*factor, B)
*
* DIFFERENCE - subtract colors from underlying image.
*
diff --git a/core/src/processing/core/PShape.java b/core/src/processing/core/PShape.java
index 98329f92f7..f75cafcf46 100644
--- a/core/src/processing/core/PShape.java
+++ b/core/src/processing/core/PShape.java
@@ -145,7 +145,7 @@ public class PShape implements PConstants {
/**
*
- * The width of the PShape document.
+ * The width of the PShape document.
*
* @webref pshape:field
* @usage web_application
@@ -155,7 +155,7 @@ public class PShape implements PConstants {
public float width;
/**
*
- * The height of the PShape document.
+ * The height of the PShape document.
*
* @webref pshape:field
* @usage web_application
@@ -2005,7 +2005,7 @@ public PShape getParent() {
}
/**
- * Returns the number of children within the PShape.
+ * Returns the number of children within the PShape.
*
* @webref
* @webBrief Returns the number of children
@@ -2037,7 +2037,7 @@ public PShape[] getChildren() {
*
* @webref pshape:method
* @usage web_application
- * @webBrief Returns a child element of a shape as a PShape object
+ * @webBrief Returns a child element of a shape as a PShape object
* @param index the layer position of the shape to get
* @see PShape#addChild(PShape)
*/
@@ -2256,7 +2256,7 @@ protected void setPath(int vcount, float[][] verts, int ccount, int[] codes) {
/**
* The getVertexCount() method returns the number of vertices that
- * make up a PShape. In the above example, the value 4 is returned by the
+ * make up a PShape. In the above example, the value 4 is returned by the
* getVertexCount() method because 4 vertices are defined in
* setup().
*
@@ -2274,7 +2274,7 @@ public int getVertexCount() {
/**
- * The getVertex() method returns a PVector with the coordinates of
+ * The getVertex() method returns a PVector with the coordinates of
* the vertex point located at the position defined by the index
* parameter. This method works when shapes are created as shown in the
* example above, but won't work properly when a shape is defined explicitly
@@ -3309,7 +3309,7 @@ public void scale(float x, float y, float z) {
/**
*
* Replaces the current matrix of a shape with the identity matrix. The
- * equivalent function in OpenGL is glLoadIdentity().
+ * equivalent function in OpenGL is glLoadIdentity().
*
* @webref pshape:method
* @webBrief Replaces the current matrix of a shape with the identity matrix
diff --git a/core/src/processing/core/PVector.java b/core/src/processing/core/PVector.java
index 1f5ac1cf0b..08ec64d2b3 100644
--- a/core/src/processing/core/PVector.java
+++ b/core/src/processing/core/PVector.java
@@ -138,7 +138,7 @@ public PVector(float x, float y) {
/**
*
* Sets the x, y, and z component of the vector using two or three separate
- * variables, the data from a PVector, or the values from a float array.
+ * variables, the data from a PVector, or the values from a float array.
*
*
* @webref pvector:method
@@ -345,7 +345,7 @@ static public PVector fromAngle(float angle, PVector target) {
/**
*
- * Copies the components of the vector and returns the result as a PVector.
+ * Copies the components of the vector and returns the result as a PVector.
*
*
* @webref pvector:method
@@ -420,7 +420,7 @@ public float magSq() {
*
* Adds x, y, and z components to a vector, adds one vector to another, or adds
* two independent vectors together. The version of the method that adds two
- * vectors together is a static method and returns a new PVector, the others act
+ * vectors together is a static method and returns a new PVector, the others act
* directly on the vector itself. See the examples for more context.
*
*
@@ -488,7 +488,7 @@ static public PVector add(PVector v1, PVector v2, PVector target) {
*
* Subtracts x, y, and z components from a vector, subtracts one vector from
* another, or subtracts two independent vectors. The version of the method that
- * substracts two vectors is a static method and returns a PVector, the others
+ * substracts two vectors is a static method and returns a PVector, the others
* act directly on the vector. See the examples for more context. In all cases,
* the second vector (v2) is subtracted from the first (v1), resulting in v1-v2.
*
@@ -557,8 +557,8 @@ static public PVector sub(PVector v1, PVector v2, PVector target) {
*
* Multiplies a vector by a scalar. The version of the method that uses a float
* acts directly on the vector upon which it is called (as in the first example
- * above). The versions that receive both a PVector and a float as arguments are
- * static methods, and each returns a new PVector that is the result of the
+ * above). The versions that receive both a PVector and a float as arguments are
+ * static methods, and each returns a new PVector that is the result of the
* multiplication operation. Both examples above produce the same visual output.
*
*
@@ -601,8 +601,8 @@ static public PVector mult(PVector v, float n, PVector target) {
*
* Divides a vector by a scalar. The version of the method that uses a float
* acts directly on the vector upon which it is called (as in the first example
- * above). The version that receives both a PVector and a float as arguments is
- * a static methods, and returns a new PVector that is the result of the
+ * above). The version that receives both a PVector and a float as arguments is
+ * a static methods, and returns a new PVector that is the result of the
* division operation. Both examples above produce the same visual output.
*
* @webref pvector:method
@@ -898,7 +898,7 @@ public PVector rotate(float theta) {
* static version is used by referencing the PVector class directly. (See the
* middle example above.) The non-static versions, lerp(v, amt) and
* lerp(x, y, z, amt), do not create a new PVector, but transform the
- * values of the PVector on which they are called. These non-static versions
+ * values of the PVector on which they are called. These non-static versions
* perform the same operation, but the former takes another vector as input,
* while the latter takes three float values. (See the top and bottom examples
* above, respectively.)
From 7b5c8ba9cee12cddde62f479abe90cefc1808eba Mon Sep 17 00:00:00 2001
From: Anadroid
* If the file is not available or an error occurs, null will be
* returned and an error message will be printed to the console. The error
- * message does not halt the program, however the null value may cause a
+ * message does not halt the program, however the null value may cause a
* NullPointerException if your code does not check whether the value returned
- * is null.
+ * is null.
*
* The extension parameter is used to determine the image type in cases
* where the image filename does not end with a proper extension. Specify the
@@ -5721,13 +5721,13 @@ public XML loadXML(String filename, String options) {
/**
* Takes a String, parses its contents, and returns an XML object. If the
- * String does not contain XML data or cannot be parsed, a null value is
+ * String does not contain XML data or cannot be parsed, a null value is
* returned.
*
* parseXML() is most useful when pulling data dynamically, such as
* from third-party APIs. Normally, API results would be saved to a String,
* and then can be converted to a structured XML object using
- * parseXML(). Be sure to check if null is returned before performing
+ * parseXML(). Be sure to check if null is returned before performing
* operations on the new XML object, in case the String content could not be
* parsed.
*
@@ -6185,9 +6185,9 @@ public boolean saveTable(Table table, String filename, String options) {
*
* If the file is not available or an error occurs, null will be
* returned and an error message will be printed to the console. The error
- * message does not halt the program, however the null value may cause a
+ * message does not halt the program, however the null value may cause a
* NullPointerException if your code does not check whether the value returned
- * is null.
+ * is null.
*
* Use createFont() (instead of loadFont()) to enable vector
* data to be used with the default renderer setting. This can be helpful when
@@ -6318,7 +6318,7 @@ private Frame selectFrame() {
/**
* Open a platform-specific file chooser dialog to select a file for input.
* After the selection is made, the selected File will be passed to the
- * 'callback' function. If the dialog is closed or canceled, null will be sent
+ * 'callback' function. If the dialog is closed or canceled, null will be sent
* to the function, so that the program is not waiting for additional input.
* The callback is necessary because of how threading works.
*
@@ -6384,7 +6384,7 @@ static public void selectInput(String prompt, String callbackMethod,
/**
* Opens a platform-specific file chooser dialog to select a file for output.
* After the selection is made, the selected File will be passed to the
- * 'callback' function. If the dialog is closed or canceled, null will be sent
+ * 'callback' function. If the dialog is closed or canceled, null will be sent
* to the function, so that the program is not waiting for additional input.
* The callback is necessary because of how threading works.
*
@@ -6912,7 +6912,7 @@ static public PrintWriter createWriter(OutputStream output) {
* - The full path to a file to be opened locally (when running as an
* application)
*
- * If the requested item doesn't exist, null is returned. If not online,
+ * If the requested item doesn't exist, null is returned. If not online,
* this will also check to see if the user is asking for a file whose name
* isn't properly capitalized. If capitalization is different, an error
* will be printed to the console. This helps prevent issues that appear
@@ -7183,9 +7183,9 @@ static public InputStream createInput(File file) {
*
* If the file is not available or an error occurs, null will be
* returned and an error message will be printed to the console. The error
- * message does not halt the program, however the null value may cause a
+ * message does not halt the program, however the null value may cause a
* NullPointerException if your code does not check whether the value returned
- * is null.
+ * is null.
*
* @webref input:files
* @webBrief Reads the contents of a file or url and places it in a byte
@@ -7401,9 +7401,9 @@ static public String[] loadStrings(File file) {
*
* If the file is not available or an error occurs, null will be
* returned and an error message will be printed to the console. The error
- * message does not halt the program, however the null value may cause a
+ * message does not halt the program, however the null value may cause a
* NullPointerException if your code does not check whether the value returned
- * is null.
+ * is null.
*
* Starting with Processing release 0134, all files loaded and saved by the
* Processing API use UTF-8 encoding. In previous releases, the default
@@ -9149,12 +9149,12 @@ protected boolean removeEldestEntry(Map.Entry
*
- * To use the function, first check to see if the result is null. If the
+ * To use the function, first check to see if the result is null. If the
* result is null, then the sequence did not match at all. If the sequence did
* match, an array is returned.
*
@@ -9173,7 +9173,7 @@ protected boolean removeEldestEntry(Map.Entry
*
- * To use the function, first check to see if the result is null. If the
+ * To use the function, first check to see if the result is null. If the
* result is null, then the sequence did not match at all. If the sequence did
* match, a 2D array is returned.
*
@@ -11524,9 +11524,9 @@ public void endShape(int mode) {
*
* If the file is not available or an error occurs, null will
* be returned and an error message will be printed to the console.
- * The error message does not halt the program, however the null value
+ * The error message does not halt the program, however the null value
* may cause a NullPointerException if your code does not check whether
- * the value returned is null.
+ * the value returned is null.
*
* @webref shape
* @webBrief Loads geometry into a variable of type PShape.
@@ -11615,7 +11615,7 @@ public PShape createShape(int kind, float... p) {
* be returned and an error message will be printed to the console.
* The error message does not halt the program, however the null
* value may cause a NullPointerException if your code does not check
- * whether the value returned is null.
+ * whether the value returned is null.
*
*
* @webref rendering:shaders
diff --git a/core/src/processing/data/FloatDict.java b/core/src/processing/data/FloatDict.java
index 3dbd639a78..6d1cd693e8 100644
--- a/core/src/processing/data/FloatDict.java
+++ b/core/src/processing/data/FloatDict.java
@@ -9,11 +9,11 @@
/**
- * A simple class to use a String as a lookup for an float value. String "keys"
+ * A simple class to use a String as a lookup for a float value. String "keys"
* are associated with floating-point values.
*
* @webref data:composite
- * @webBrief A simple table class to use a String as a lookup for an float
+ * @webBrief A simple table class to use a String as a lookup for a float
* value.
* @see IntDict
* @see StringDict
@@ -415,7 +415,7 @@ public boolean hasKey(String key) {
/**
- * Add to a value. If the key does not exist, an new pair is initialized with
+ * Add to a value. If the key does not exist, a new pair is initialized with
* the value supplied.
*
* @webref floatdict:method
diff --git a/core/src/processing/data/FloatList.java b/core/src/processing/data/FloatList.java
index 2816c26625..d45f483212 100644
--- a/core/src/processing/data/FloatList.java
+++ b/core/src/processing/data/FloatList.java
@@ -11,11 +11,11 @@
/**
* Helper class for a list of floats. Lists are designed to have some of the
- * features of ArrayLists, but to maintain the simplicity and efficiency of
+ * features of ArrayLists, but to maintain the simplicity and efficiency of
* working with arrays.
*
- * Functions like sort() and shuffle() always act on the list itself. To get
- * a sorted copy, use list.copy().sort().
+ * Functions like sort() and shuffle() always act on the list itself. To get
+ * a sorted copy, use list.copy().sort().
*
* @webref data:composite
* @webBrief Helper class for a list of floats.
diff --git a/core/src/processing/data/IntDict.java b/core/src/processing/data/IntDict.java
index 78e594f5b2..2dab5bbb25 100644
--- a/core/src/processing/data/IntDict.java
+++ b/core/src/processing/data/IntDict.java
@@ -9,11 +9,11 @@
/**
- * A simple class to use a String as a lookup for an int value. String "keys" are
+ * A simple class to use a String as a lookup for an int value. String "keys" are
* associated with integer values.
*
* @webref data:composite
- * @webBrief A simple class to use a String as a lookup for an int value.
+ * @webBrief A simple class to use a String as a lookup for an int value.
* @see FloatDict
* @see StringDict
*/
diff --git a/core/src/processing/data/IntList.java b/core/src/processing/data/IntList.java
index 51af0ecb57..b63d5085ce 100644
--- a/core/src/processing/data/IntList.java
+++ b/core/src/processing/data/IntList.java
@@ -16,11 +16,11 @@
/**
* Helper class for a list of ints. Lists are designed to have some of the
- * features of ArrayLists, but to maintain the simplicity and efficiency of
+ * features of ArrayLists, but to maintain the simplicity and efficiency of
* working with arrays.
*
- * Functions like sort() and shuffle() always act on the list itself. To get
- * a sorted copy, use list.copy().sort().
+ * Functions like sort() and shuffle() always act on the list itself. To get
+ * a sorted copy, use list.copy().sort().
*
* @webref data:composite
* @webBrief Helper class for a list of ints.
diff --git a/core/src/processing/data/JSONArray.java b/core/src/processing/data/JSONArray.java
index 32919e6724..173433b5e2 100644
--- a/core/src/processing/data/JSONArray.java
+++ b/core/src/processing/data/JSONArray.java
@@ -279,7 +279,7 @@ public Object get(int index) {
/**
- * Gets the String value associated with the specified index.
+ * Gets the String value associated with the specified index.
*
* @webref jsonarray:method
* @webBrief Gets the String value associated with an index
@@ -562,11 +562,11 @@ public JSONObject getJSONObject(int index, JSONObject defaultValue) {
/**
- * Returns the entire JSONArray as an array of Strings.
- * (All values in the array must be of the String type.)
+ * Returns the entire JSONArray as an array of Strings.
+ * (All values in the array must be of the String type.)
*
* @webref jsonarray:method
- * @webBrief Returns the entire JSONArray as an array of Strings
+ * @webBrief Returns the entire JSONArray as an array of Strings
* @see JSONArray#getIntArray()
*/
public String[] getStringArray() {
@@ -579,11 +579,11 @@ public String[] getStringArray() {
/**
- * Returns the entire JSONArray as an array of ints.
+ * Returns the entire JSONArray as an array of ints.
* (All values in the array must be of the int type.)
*
* @webref jsonarray:method
- * @webBrief Returns the entire JSONArray as an array of ints
+ * @webBrief Returns the entire JSONArray as an array of ints
* @see JSONArray#getStringArray()
*/
public int[] getIntArray() {
@@ -702,8 +702,8 @@ public boolean[] getBooleanArray() {
/**
* Appends a new value to the JSONArray, increasing the array's length
- * by one. New values may be of the following types: int, float, String,
- * boolean, JSONObject, or JSONArray.
+ * by one. New values may be of the following types: int, float, String,
+ * boolean, JSONObject, or JSONArray.
*
* @webref jsonarray:method
* @webBrief Appends a value, increasing the array's length by one
@@ -1080,7 +1080,7 @@ public boolean isNull(int index) {
/**
* Removes the element from a JSONArray in the specified index position.
- * Returns either the value associated with the given index, or null, if there
+ * Returns either the value associated with the given index, or null, if there
* is no value.
*
* @webref jsonarray:method
diff --git a/core/src/processing/data/JSONObject.java b/core/src/processing/data/JSONObject.java
index f5413b3aec..457085e5f7 100644
--- a/core/src/processing/data/JSONObject.java
+++ b/core/src/processing/data/JSONObject.java
@@ -52,7 +52,7 @@ of this software and associated documentation files (the "Software"), to deal
/**
* A JSONObject stores JSON data with multiple name/value pairs. Values
- * can be numeric, Strings, booleans, other JSONObjects or
+ * can be numeric, Strings, booleans, other JSONObjects or
* JSONArrays, or null. JSONObject and JSONArray objects
* are quite similar and share most of the same methods; the primary difference
* is that the latter stores an array of JSON objects, while the former
@@ -567,7 +567,7 @@ public Object get(String key) {
/**
- * Gets the String value associated with the specified key.
+ * Gets the String value associated with the specified key.
*
* @webref jsonobject:method
* @webBrief Gets the String value associated with the specified key
diff --git a/core/src/processing/data/LongList.java b/core/src/processing/data/LongList.java
index 1598753d7d..2c818526c9 100644
--- a/core/src/processing/data/LongList.java
+++ b/core/src/processing/data/LongList.java
@@ -710,7 +710,7 @@ public void reverse() {
/**
* Randomize the order of the list elements. Note that this does not
- * obey the randomSeed() function in PApplet.
+ * obey the randomSeed() function in PApplet.
*
* @webref intlist:method
* @webBrief Randomize the order of the list elements
diff --git a/core/src/processing/data/StringDict.java b/core/src/processing/data/StringDict.java
index 97e2e4d721..6f4d8f4a4d 100644
--- a/core/src/processing/data/StringDict.java
+++ b/core/src/processing/data/StringDict.java
@@ -9,8 +9,8 @@
/**
- * A simple class to use a String as a lookup for an String value. String "keys"
- * are associated with String values.
+ * A simple class to use a String as a lookup for a String value. String "keys"
+ * are associated with String values.
*
* @webref data:composite
* @webBrief A simple class to use a String as a lookup for an String value
diff --git a/core/src/processing/data/StringList.java b/core/src/processing/data/StringList.java
index f69c1a7ea9..93bafd46c1 100644
--- a/core/src/processing/data/StringList.java
+++ b/core/src/processing/data/StringList.java
@@ -9,12 +9,12 @@
import processing.core.PApplet;
/**
- * Helper class for a list of Strings. Lists are designed to have some of the
- * features of ArrayLists, but to maintain the simplicity and efficiency of
+ * Helper class for a list of Strings. Lists are designed to have some of the
+ * features of ArrayLists, but to maintain the simplicity and efficiency of
* working with arrays.
*
- * Functions like sort() and shuffle() always act on the list itself. To get
- * a sorted copy, use list.copy().sort().
+ * Functions like sort() and shuffle() always act on the list itself. To get
+ * a sorted copy, use list.copy().sort().
*
* @webref data:composite
* @webBrief Helper class for a list of Strings.
@@ -149,7 +149,7 @@ public String get(int index) {
/**
* Set the entry at a particular index. If the index is past the length of
* the list, it'll expand the list to accommodate, and fill the intermediate
- * entries with "null".
+ * entries with null.
*
* @webref stringlist:method
* @webBrief Set an entry at a particular index
diff --git a/core/src/processing/data/Table.java b/core/src/processing/data/Table.java
index 505be67ffe..3b0047b6ec 100644
--- a/core/src/processing/data/Table.java
+++ b/core/src/processing/data/Table.java
@@ -1806,9 +1806,9 @@ protected void loadBinary(InputStream is) throws IOException {
* Use addColumn() to add a new column to a Table object.
* Typically, you will want to specify a title, so the column may be easily
* referenced later by name. (If no title is specified, the new column's title
- * will be null.) A column type may also be specified, in which case all values
- * stored in this column must be of the same type (e.g., Table.INT or
- * Table.FLOAT). If no type is specified, the default type of STRING is used.
+ * will be null.) A column type may also be specified, in which case all values
+ * stored in this column must be of the same type (e.g., Table.INT or
+ * Table.FLOAT). If no type is specified, the default type of STRING is used.
*
* @webref table:method
* @webBrief Adds a new column to a table
@@ -1886,7 +1886,7 @@ public void insertColumn(int index, String title, int type) {
/**
* Use removeColumn() to remove an existing column from a Table
* object. The column to be removed may be identified by either its title (a
- * String) or its index value (an int). removeColumn(0) would remove the
+ * String) or its index value (an int). removeColumn(0) would remove the
* first column, removeColumn(1) would remove the second column, and so
* on.
*
@@ -3609,7 +3609,7 @@ public void setString(int row, String columnName, String value) {
}
/**
- * Retrieves all values in the specified column, and returns them as a String
+ * Retrieves all values in the specified column, and returns them as a String
* array. The column may be specified by either its ID or title.
*
* @webref table:method
diff --git a/core/src/processing/data/TableRow.java b/core/src/processing/data/TableRow.java
index 45c7816e7a..ba289c8b94 100644
--- a/core/src/processing/data/TableRow.java
+++ b/core/src/processing/data/TableRow.java
@@ -99,7 +99,7 @@ public interface TableRow {
public double getDouble(String columnName);
/**
- * Stores a String value in the TableRow's specified column. The column
+ * Stores a String value in the TableRow's specified column. The column
* may be specified by either its ID or title.
*
* @webref tablerow:method
@@ -116,7 +116,7 @@ public interface TableRow {
public void setString(String columnName, String value);
/**
- * Stores an integer value in the TableRow's specified column. The column
+ * Stores an integer value in the TableRow's specified column. The column
* may be specified by either its ID or title.
*
* @webref tablerow:method
@@ -148,7 +148,7 @@ public interface TableRow {
public void setLong(String columnName, long value);
/**
- * Stores a float value in the TableRow's specified column. The column
+ * Stores a float value in the TableRow's specified column. The column
* may be specified by either its ID or title.
*
* @webref tablerow:method
diff --git a/core/src/processing/data/XML.java b/core/src/processing/data/XML.java
index f834515949..46504fde31 100644
--- a/core/src/processing/data/XML.java
+++ b/core/src/processing/data/XML.java
@@ -41,16 +41,16 @@
/**
- * XML is a representation of an XML object, able to parse XML code. Use
+ * XML is a representation of an XML object, able to parse XML code. Use
* loadXML() to load external XML files and create XML
* objects.
*
* Only files encoded as UTF-8 (or plain ASCII) are parsed properly; the
- * encoding parameter inside XML files is ignored.
+ * encoding parameter inside XML files is ignored.
*
* @webref data:composite
* @webBrief This is the base class used for the Processing XML library,
- * representing a single node of an XML tree.
+ * representing a single node of an XML tree.
* @see PApplet#loadXML(String)
* @see PApplet#parseXML(String)
* @see PApplet#saveXML(XML, String)
@@ -253,10 +253,10 @@ protected XML(XML parent, Node node) {
/**
- * Converts String content to an XML object
+ * Converts String content to an XML object
*
* @webref xml:method
- * @webBrief Converts String content to an XML object
+ * @webBrief Converts String content to an XML object
* @param data the content to be parsed as XML
* @return an XML object, or null
* @throws SAXException
@@ -305,7 +305,7 @@ public boolean write(PrintWriter output) {
/**
- * Gets a copy of the element's parent. Returns the parent as another XML object.
+ * Gets a copy of the element's parent. Returns the parent as another XML object.
*
* @webref xml:method
* @webBrief Gets a copy of the element's parent
@@ -323,7 +323,7 @@ protected Object getNative() {
/**
- * Gets the element's full name, which is returned as a String.
+ * Gets the element's full name, which is returned as a String.
*
* @webref xml:method
* @webBrief Gets the element's full name
@@ -335,7 +335,7 @@ public String getName() {
}
/**
- * Sets the element's name, which is specified as a String.
+ * Sets the element's name, which is specified as a String.
*
* @webref xml:method
* @webBrief Sets the element's name
@@ -388,7 +388,7 @@ public int getChildCount() {
/**
- * Checks whether or not the element has any children, and returns the result as a boolean.
+ * Checks whether or not the element has any children, and returns the result as a boolean.
*
* @webref xml:method
* @webBrief Checks whether or not an element has any children
@@ -401,7 +401,7 @@ public boolean hasChildren() {
/**
* Get the names of all of the element's children, and returns the names as an
- * array of Strings. This is the same as looping through and calling getName()
+ * array of Strings. This is the same as looping through and calling getName()
* on each child element individually.
*
* @webref xml:method
@@ -427,7 +427,7 @@ public String[] listChildren() {
/**
- * Returns all of the element's children as an array of XML objects. When
+ * Returns all of the element's children as an array of XML objects. When
* the name parameter is specified, then it will return all children
* that match that name or path. The path is a series of elements and
* sub-elements, separated by slashes.
@@ -572,10 +572,10 @@ protected XML[] getChildrenRecursive(String[] items, int offset) {
/**
* Appends a new child to the element. The child can be specified with either a
- * String, which will be used as the new tag's name, or as a reference to an
- * existing XML object.
+ * String, which will be used as the new tag's name, or as a reference to an
+ * existing XML object.
*
- * A reference to the newly created child is returned as an XML object.
+ * A reference to the newly created child is returned as an XML object.
*
* @webref xml:method
* @webBrief Appends a new child to the element
@@ -695,7 +695,7 @@ public void trim() {
/**
- * Counts the specified element's number of attributes, returned as an int.
+ * Counts the specified element's number of attributes, returned as an int.
*
* @webref xml:method
* @webBrief Counts the specified element's number of attributes
@@ -706,7 +706,7 @@ public int getAttributeCount() {
/**
- * Gets all of the specified element's attributes, and returns them as an array of Strings.
+ * Gets all of the specified element's attributes, and returns them as an array of Strings.
*
* @webref xml:method
* @webBrief Returns a list of names of all attributes as an array
@@ -722,7 +722,7 @@ public String[] listAttributes() {
/**
* Checks whether or not an element has the specified attribute. The attribute
- * must be specified as a String, and a boolean is returned.
+ * must be specified as a String, and a boolean is returned.
*
* @webref xml:method
* @webBrief Checks whether or not an element has the specified attribute
@@ -757,13 +757,13 @@ public boolean hasAttribute(String name) {
/**
- * Returns an attribute value of the element as a String. If the defaultValue
+ * Returns an attribute value of the element as a String. If the defaultValue
* parameter is specified and the attribute doesn't exist, then defaultValue
* is returned. If no defaultValue is specified and the attribute doesn't
- * exist, null is returned.
+ * exist, null is returned.
*
* @webref xml:method
- * @webBrief Gets the content of an attribute as a String
+ * @webBrief Gets the content of an attribute as a String
*/
public String getString(String name) {
return getString(name, null);
@@ -783,11 +783,11 @@ public String getString(String name, String defaultValue) {
/**
- * Sets the content of an element's attribute as a String. The first String
+ * Sets the content of an element's attribute as a String. The first String
* specifies the attribute name, while the second specifies the new content.
*
* @webref xml:method
- * @webBrief Sets the content of an attribute as a String
+ * @webBrief Sets the content of an attribute as a String
*/
public void setString(String name, String value) {
((Element) node).setAttribute(name, value);
@@ -795,13 +795,13 @@ public void setString(String name, String value) {
/**
- * Returns an attribute value of the element as an int. If the defaultValue
+ * Returns an attribute value of the element as an int. If the defaultValue
* parameter is specified and the attribute doesn't exist, then defaultValue
* is returned. If no defaultValue is specified and the attribute doesn't
* exist, the value 0 is returned.
*
* @webref xml:method
- * @webBrief Gets the content of an attribute as an int
+ * @webBrief Gets the content of an attribute as an int
*/
public int getInt(String name) {
return getInt(name, 0);
@@ -809,11 +809,11 @@ public int getInt(String name) {
/**
- * Sets the content of an element's attribute as an int. A String specifies
+ * Sets the content of an element's attribute as an int. A String specifies
* the attribute name, while the int specifies the new content.
*
* @webref xml:method
- * @webBrief Sets the content of an attribute as an int
+ * @webBrief Sets the content of an attribute as an int
*/
public void setInt(String name, int value) {
setString(name, String.valueOf(value));
@@ -834,10 +834,10 @@ public int getInt(String name, int defaultValue) {
/**
- * Sets the content of an element as an int
+ * Sets the content of an element as an int
*
* @webref xml:method
- * @webBrief Sets the content of an element as an int
+ * @webBrief Sets the content of an element as an int
*/
public void setLong(String name, long value) {
setString(name, String.valueOf(value));
@@ -864,7 +864,7 @@ public long getLong(String name, long defaultValue) {
* and the attribute doesn't exist, the value 0.0 is returned.
*
* @webref xml:method
- * @webBrief Gets the content of an attribute as a float
+ * @webBrief Gets the content of an attribute as a float
*/
public float getFloat(String name) {
return getFloat(name, 0);
@@ -885,11 +885,11 @@ public float getFloat(String name, float defaultValue) {
/**
- * Sets the content of an element's attribute as a float. A String specifies
- * the attribute name, while the float specifies the new content.
+ * Sets the content of an element's attribute as a float. A String specifies
+ * the attribute name, while the float specifies the new content.
*
* @webref xml:method
- * @webBrief Sets the content of an attribute as a float
+ * @webBrief Sets the content of an attribute as a float
*/
public void setFloat(String name, float value) {
setString(name, String.valueOf(value));
@@ -941,11 +941,11 @@ public String getContent(String defaultValue) {
/**
- * Returns the content of an element as an int. If there is no such content,
+ * Returns the content of an element as an int. If there is no such content,
* either null or the provided default value is returned.
*
* @webref xml:method
- * @webBrief Gets the content of an element as an int
+ * @webBrief Gets the content of an element as an int
* @return the content.
* @see XML#getContent()
* @see XML#getFloatContent()
@@ -964,11 +964,11 @@ public int getIntContent(int defaultValue) {
/**
- * Returns the content of an element as a float. If there is no such content,
+ * Returns the content of an element as a float. If there is no such content,
* either null or the provided default value is returned.
*
* @webref xml:method
- * @webBrief Gets the content of an element as a float
+ * @webBrief Gets the content of an element as a float
* @return the content.
* @see XML#getContent()
* @see XML#getIntContent()
@@ -1019,7 +1019,7 @@ public double getDoubleContent(double defaultValue) {
/**
- * Sets the element's content, which is specified as a String.
+ * Sets the element's content, which is specified as a String.
*
* @webref xml:method
* @webBrief Sets the content of an element
@@ -1050,19 +1050,19 @@ public void setDoubleContent(double value) {
/**
- * Takes an XML object and converts it to a String, formatting its content as
+ * Takes an XML object and converts it to a String, formatting its content as
* specified with the indent parameter.
*
* If indent is set to -1, then the String is returned with no line breaks, no
- * indentation, and no XML declaration.
+ * indentation, and no XML declaration.
*
- * If indent is set to 0 or greater, then the String is returned with line
+ * If indent is set to 0 or greater, then the String is returned with line
* breaks, and the specified number of spaces as indent values. Meaning, there
* will be no indentation if 0 is specified, or each indent will be replaced
* with the corresponding number of spaces: 1, 2, 3, and so on.
*
* @webref xml:method
- * @webBrief Formats XML data as a String
+ * @webBrief Formats XML data as a String
* @param indent -1 for a single line (and no declaration), >= 0 for indents and
* newlines
* @return the content
@@ -1204,13 +1204,13 @@ public void print() {
/**
- * Takes an XML object and converts it to a String, using default formatting
+ * Takes an XML object and converts it to a String, using default formatting
* rules (includes an XML declaration, line breaks, and two spaces for indents).
* These are the same formatting rules used by println() when printing an
- * XML object. This method produces the same results as using format(2).
+ * XML object. This method produces the same results as using format(2).
*
* @webref xml:method
- * @webBrief Gets XML data as a String using default formatting
+ * @webBrief Gets XML data as a String using default formatting
* @return the content
* @see XML#format(int)
*/
diff --git a/core/src/processing/opengl/PShader.java b/core/src/processing/opengl/PShader.java
index 0f7c081855..e7242de5ad 100644
--- a/core/src/processing/opengl/PShader.java
+++ b/core/src/processing/opengl/PShader.java
@@ -37,7 +37,7 @@
* fragment shader. It's compatible with the P2D and P3D renderers, but not with
* the default renderer. Use the loadShader() function to load your
* shader code. [Note: It's strongly encouraged to use loadShader() to
- * create a PShader object, rather than calling the PShader constructor
+ * create a PShader object, rather than calling the PShader constructor
* manually.]
*
* @webref rendering:shaders
diff --git a/java/libraries/io/src/processing/io/GPIO.java b/java/libraries/io/src/processing/io/GPIO.java
index 6dbea0ad30..315f257f79 100644
--- a/java/libraries/io/src/processing/io/GPIO.java
+++ b/java/libraries/io/src/processing/io/GPIO.java
@@ -94,16 +94,16 @@ public static void analogWrite(int pin, int value) {
/**
* Calls a function when the value of an input pin changes
*
- * The sketch method provided must accept a single integer (int) parameter, which is the
+ * The sketch method provided must accept a single integer (int) parameter, which is the
* number of the GPIO pin that the interrupt occured on. As this method might be called
* at any time, including when drawing to the display window isn't permitted, it is best
- * to only set simple variables that are being responded to in the next draw() call, as
+ * to only set simple variables that are being responded to in the next draw() call, as
* shown above. Calling functions of the Hardware I/O library at this point is certainly
* possible.
*
- * The mode parameter determines when the function will be called: GPIO.FALLING occurs
- * when the level changes from high to low, GPIO.RISING when the level changes from low
- * to high, and GPIO.CHANGE when either occurs.
+ * The mode parameter determines when the function will be called: GPIO.FALLING occurs
+ * when the level changes from high to low, GPIO.RISING when the level changes from low
+ * to high, and GPIO.CHANGE when either occurs.
*
* @param pin GPIO pin
* @param parent typically use "this"
@@ -333,7 +333,7 @@ protected static void enableInterrupt(int pin, int mode) {
* Allows interrupts to happen
*
* You can use noInterrupts()
- * and interrupts() in tandem to make sure no interrupts are occuring
+ * and interrupts() in tandem to make sure no interrupts are occuring
* while your sketch is doing a particular task. By default, interrupts
* are enabled.
*
@@ -351,7 +351,7 @@ public static void interrupts() {
/**
* Prevents interrupts from happpening
*
- * You can use noInterrupts() and interrupts()
+ * You can use noInterrupts() and interrupts()
* in tandem to make sure no interrupts are occuring while your sketch is doing a
* particular task.
* br/>
@@ -529,9 +529,9 @@ public static void releasePin(int pin) {
/**
* Waits for the value of an input pin to change
*
- * The mode parameter determines when the function will return: GPIO.FALLING occurs
- * when the level changes from high to low, GPIO.RISING when the level changes from
- * low to high, and GPIO.CHANGE when either occurs.
+ * The mode parameter determines when the function will return: GPIO.FALLING occurs
+ * when the level changes from high to low, GPIO.RISING when the level changes from
+ * low to high, and GPIO.CHANGE when either occurs.
*
* The optional timeout parameter determines how many milliseconds the function will
* wait at the most. If the value of the input pin hasn't changed at this point, an
@@ -550,9 +550,9 @@ public static void waitFor(int pin, int mode) {
/**
* Waits for the value of an input pin to change
*
- * The mode parameter determines when the function will return: GPIO.FALLING occurs
- * when the level changes from high to low, GPIO.RISING when the level changes from
- * low to high, and GPIO.CHANGE when either occurs.
+ * The mode parameter determines when the function will return: GPIO.FALLING occurs
+ * when the level changes from high to low, GPIO.RISING when the level changes from
+ * low to high, and GPIO.CHANGE when either occurs.
*
* The optional timeout parameter determines how many milliseconds the function will
* wait at the most. If the value of the input pin hasn't changed at this point, an
diff --git a/java/libraries/io/src/processing/io/I2C.java b/java/libraries/io/src/processing/io/I2C.java
index c65ecc5c96..d165cd327f 100644
--- a/java/libraries/io/src/processing/io/I2C.java
+++ b/java/libraries/io/src/processing/io/I2C.java
@@ -150,7 +150,7 @@ protected void finalize() throws Throwable {
*
* This executes any queued writes. Read()
* implicitly ends the current transmission as well, hence calling
- * endTransmission() afterwards is not necessary.
+ * endTransmission() afterwards is not necessary.
*
* @see beginTransmission
* @see write
@@ -212,10 +212,10 @@ public static String[] list() {
/**
* Read bytes from the attached device
*
- * You must call beginTransmission() before calling this function. This function
+ * You must call beginTransmission() before calling this function. This function
* also ends the current transmission and sends any data that was queued using
- * write() before. It is not necessary to call
- * endTransmission() after read().
+ * write() before. It is not necessary to call
+ * endTransmission() after read().
*
* @param len number of bytes to read
* @return bytes read from device
@@ -253,8 +253,8 @@ public byte[] read(int len) {
/**
* Add bytes to be written to the device
*
- * You must call beginTransmission() before calling this function. The actual
- * writing takes part when read() or endTransmission() is being called.
+ * You must call beginTransmission() before calling this function. The actual
+ * writing takes part when read() or endTransmission() is being called.
*
* @param out bytes to be written
* @see beginTransmission
diff --git a/java/libraries/io/src/processing/io/SoftwareServo.java b/java/libraries/io/src/processing/io/SoftwareServo.java
index df01fd8bfc..321959664c 100644
--- a/java/libraries/io/src/processing/io/SoftwareServo.java
+++ b/java/libraries/io/src/processing/io/SoftwareServo.java
@@ -83,10 +83,10 @@ protected void finalize() throws Throwable {
/**
* Attaches a servo motor to a GPIO pin
*
- * You must call this function before calling write(). Note that the servo motor
- * will only be instructed to move after the first time write() is called.
+ * You must call this function before calling write(). Note that the servo motor
+ * will only be instructed to move after the first time write() is called.
*
- * The optional parameters minPulse and maxPulse control the minimum and maximum
+ * The optional parameters minPulse and maxPulse control the minimum and maximum
* pulse width durations. The default values, identical to those of Arduino's
* Servo class, should be compatible with most servo motors.
*
@@ -105,8 +105,8 @@ public void attach(int pin) {
/**
* Attaches a servo motor to a GPIO pin
*
- * You must call this function before calling write(). Note that the servo motor
- * will only be instructed to move after the first time write() is called.
+ * You must call this function before calling write(). Note that the servo motor
+ * will only be instructed to move after the first time write() is called.
*
* The optional parameters minPulse and maxPulse control the minimum and maximum
* pulse width durations. The default values, identical to those of Arduino's
diff --git a/java/libraries/serial/src/processing/serial/Serial.java b/java/libraries/serial/src/processing/serial/Serial.java
index d843963b77..af044c1604 100644
--- a/java/libraries/serial/src/processing/serial/Serial.java
+++ b/java/libraries/serial/src/processing/serial/Serial.java
@@ -198,10 +198,10 @@ public int available() {
/**
- * Sets the number of bytes to buffer before calling serialEvent()
+ * Sets the number of bytes to buffer before calling serialEvent()
* @generate Serial_buffer.xml
* @webref serial
- * @webBrief Sets the number of bytes to buffer before calling serialEvent()
+ * @webBrief Sets the number of bytes to buffer before calling serialEvent()
* @usage web_application
* @param size number of bytes to buffer
*/
@@ -722,7 +722,7 @@ public void write(int src) {
/**
- * Writes bytes, chars, ints, bytes[], Strings to the serial port
+ * Writes bytes, chars, ints, bytes[], Strings to the serial port
*
* Advanced
* Write a String to the output. Note that this doesn't account
@@ -737,7 +737,7 @@ public void write(int src) {
* (i.e. UTF8 or two-byte Unicode data), and send it as a byte array.
*
* @webref serial
- * @webBrief Writes bytes, chars, ints, bytes[], Strings to the serial port
+ * @webBrief Writes bytes, chars, ints, bytes[], Strings to the serial port
* @usage web_application
* @param src data to write
*/
From 118e22e3296f878309e6ba78c982c02454afbd29 Mon Sep 17 00:00:00 2001
From: Anadroid
*
* If no delim characters are specified, any whitespace character is
@@ -9009,8 +9010,8 @@ static public String[] splitTokens(String value) {
* conversion functions int() and float().
*
* @webref data:string_functions
- * @webBrief The splitTokens() function splits a String at one or many
- * character "tokens."
+ * @webBrief The splitTokens() function splits a String at one or many
+ * character "tokens"
* @param value
* the String to be split
* @param delim
@@ -9058,8 +9059,8 @@ static public String[] splitTokens(String value, String delim) {
* characters on Wikipedia. -->
*
* @webref data:string_functions
- * @webBrief The split() function breaks a string into pieces using a
- * character or string as the divider.
+ * @webBrief The split() function breaks a string into pieces using a
+ * character or string as the divider
* @usage web_application
* @param value
* the String to be split
@@ -9171,9 +9172,9 @@ protected boolean removeEldestEntry(Map.Entry
@@ -10395,8 +10396,8 @@ public final int color(float v1, float v2, float v3, float alpha) {
*
*
* @webref color:creating_reading
- * @webBrief Calculates a color or colors between two color at a specific
- * increment.
+ * @webBrief Calculates a color or colors between two colors at a specific
+ * increment
* @usage web_application
* @param c1
* interpolate from this color
@@ -10950,7 +10951,7 @@ protected void runSketch() {
*
* @webref output:files
* @webBrief Opens a new file and all subsequent drawing functions are echoed
- * to this file as well as the display window.
+ * to this file as well as the display window
* @param renderer
* PDF or SVG
* @param filename
@@ -10982,7 +10983,7 @@ public void beginRecord(PGraphics recorder) {
*
* @webref output:files
* @webBrief Stops the recording process started by beginRecord() and closes
- * the file.
+ * the file
* @see PApplet#beginRecord(String, String)
*/
public void endRecord() {
@@ -11025,7 +11026,7 @@ public void endRecord() {
*
* @webref output:files
* @webBrief To create vectors from 3D data, use the beginRaw() and
- * endRaw() commands.
+ * endRaw() commands
* @param renderer for example, PDF or DXF
* @param filename filename for output
* @see PApplet#endRaw()
@@ -11062,7 +11063,7 @@ public void beginRaw(PGraphics rawGraphics) {
*
*
* @webref output:files
- * @webBrief Complement to beginRaw(); they must always be used together.
+ * @webBrief Complement to beginRaw(); they must always be used together
* @see PApplet#beginRaw(String, String)
*/
public void endRaw() {
@@ -11096,7 +11097,7 @@ public PShape beginRecord() {
*
* @webref image:pixels
* @webBrief Loads the pixel data for the display window into the
- * pixels[] array.
+ * pixels[] array
* @see PApplet#pixels
* @see PApplet#updatePixels()
*/
@@ -11114,7 +11115,7 @@ public void loadPixels() {
*
* @webref image:pixels
* @webBrief Updates the display window with the data in the pixels[]
- * array.
+ * array
* @see PApplet#loadPixels()
* @see PApplet#pixels
*/
@@ -11203,7 +11204,7 @@ public void beginShape() {
*
* @webref shape:vertex
* @webBrief Using the beginShape() and endShape() functions allow
- * creating more complex forms.
+ * creating more complex forms
* @param kind Either POINTS, LINES, TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP,
* QUADS, or QUAD_STRIP
* @see PShape
@@ -11239,7 +11240,7 @@ public void edge(boolean edge) {
* is identical to glNormal3f() in OpenGL.
*
* @webref lights_camera:lights
- * @webBrief Sets the current normal vector.
+ * @webBrief Sets the current normal vector
* @param nx x direction
* @param ny y direction
* @param nz z direction
@@ -11301,7 +11302,7 @@ public void attrib(String name, boolean... values) {
* (0,200). The same mapping in NORMAL is (0,0) (1,0) (1,1) (0,1).
*
* @webref image:textures
- * @webBrief Sets the coordinate space for texture mapping.
+ * @webBrief Sets the coordinate space for texture mapping
* @param mode either IMAGE or NORMAL
* @see PGraphics#texture(PImage)
* @see PGraphics#textureWrap(int)
@@ -11320,7 +11321,7 @@ public void textureMode(int mode) {
*
*
* @webref image:textures
- * @webBrief Defines if textures repeat or draw once within a texture map.
+ * @webBrief Defines if textures repeat or draw once within a texture map
* @param wrap Either CLAMP (default) or REPEAT
* @see PGraphics#texture(PImage)
* @see PGraphics#textureMode(int)
@@ -11343,7 +11344,7 @@ public void textureWrap(int wrap) {
* shape.
*
* @webref image:textures
- * @webBrief Sets a texture to be applied to vertex points.
+ * @webBrief Sets a texture to be applied to vertex points
* @param image reference to a PImage object
* @see PGraphics#textureMode(int)
* @see PGraphics#textureWrap(int)
@@ -11415,7 +11416,7 @@ public void vertex(float x, float y, float u, float v) {
* changed with textureMode().
*
* @webref shape:vertex
- * @webBrief All shapes are constructed by connecting a series of vertices.
+ * @webBrief All shapes are constructed by connecting a series of vertices
* @param x x-coordinate of the vertex
* @param y y-coordinate of the vertex
* @param z z-coordinate of the vertex
@@ -11451,7 +11452,7 @@ public void vertex(float x, float y, float z, float u, float v) {
* or rect() within.
*
* @webref shape:vertex
- * @webBrief Begins recording vertices for the shape.
+ * @webBrief Begins recording vertices for the shape
*/
public void beginContour() {
if (recorder != null) recorder.beginContour();
@@ -11475,7 +11476,7 @@ public void beginContour() {
* or rect() within.
*
* @webref shape:vertex
- * @webBrief Stops recording vertices for the shape.
+ * @webBrief Stops recording vertices for the shape
*/
public void endContour() {
if (recorder != null) recorder.endContour();
@@ -11499,7 +11500,7 @@ public void endShape() {
* beginning and the end).
*
* @webref shape:vertex
- * @webBrief the companion to beginShape() and may only be called after beginShape().
+ * @webBrief the companion to beginShape() and may only be called after beginShape()
* @param mode use CLOSE to close the shape
* @see PShape
* @see PGraphics#beginShape(int)
@@ -11524,12 +11525,12 @@ public void endShape(int mode) {
*
* If the file is not available or an error occurs, null will
* be returned and an error message will be printed to the console.
- * The error message does not halt the program, however the null value
+ * The error message does not halt the program, however the null value
* may cause a NullPointerException if your code does not check whether
- * the value returned is null.
+ * the value returned is null.
*
* @webref shape
- * @webBrief Loads geometry into a variable of type PShape.
+ * @webBrief Loads geometry into a variable of type PShape
* @param filename name of file to load, can be .svg or .obj
* @see PShape
* @see PApplet#createShape()
@@ -11576,7 +11577,7 @@ public PShape loadShape(String filename, String options) {
* PShape class are in the Processing Javadoc.
*
* @webref shape
- * @webBrief The createShape() function is used to define a new shape.
+ * @webBrief The createShape() function is used to define a new shape
* @see PShape
* @see PShape#endShape()
* @see PApplet#loadShape(String)
@@ -11601,7 +11602,7 @@ public PShape createShape(int kind, float... p) {
/**
- * Loads a shader into the PShader object. The shader file must be
+ * Loads a shader into the PShader object. The shader file must be
* loaded in the sketch's "data" folder/directory to load correctly.
* Shaders are compatible with the P2D and P3D renderers, but not
* with the default renderer.
@@ -11615,11 +11616,11 @@ public PShape createShape(int kind, float... p) {
* be returned and an error message will be printed to the console.
* The error message does not halt the program, however the null
* value may cause a NullPointerException if your code does not check
- * whether the value returned is null.
+ * whether the value returned is null.
*
*
* @webref rendering:shaders
- * @webBrief Loads a shader into the PShader object.
+ * @webBrief Loads a shader into the PShader object
* @param fragFilename name of fragment shader file
*/
public PShader loadShader(String fragFilename) {
@@ -11642,7 +11643,7 @@ public PShader loadShader(String fragFilename, String vertFilename) {
*
*
* @webref rendering:shaders
- * @webBrief Applies the shader specified by the parameters.
+ * @webBrief Applies the shader specified by the parameters
* @param shader name of shader file
*/
public void shader(PShader shader) {
@@ -11667,7 +11668,7 @@ public void shader(PShader shader, int kind) {
*
*
* @webref rendering:shaders
- * @webBrief Restores the default shaders.
+ * @webBrief Restores the default shaders
*/
public void resetShader() {
if (recorder != null) recorder.resetShader();
@@ -11702,7 +11703,7 @@ public void filter(PShader shader) {
*
* @webref rendering
* @webBrief Limits the rendering to the boundaries of a rectangle defined
- * by the parameters.
+ * by the parameters
* @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
@@ -11720,7 +11721,7 @@ public void clip(float a, float b, float c, float d) {
*
*
* @webref rendering
- * @webBrief Disables the clipping previously started by the clip() function.
+ * @webBrief Disables the clipping previously started by the clip() function
*/
public void noClip() {
if (recorder != null) recorder.noClip();
@@ -11737,15 +11738,15 @@ public void noClip() {
* channel of (A) and (B) independently. The red channel is compared with
* red, green with green, and blue with blue.
*
- * BLEND - linear interpolation of colors: C = A*factor + B. This is the default.
+ * BLEND - linear interpolation of colors: C = A*factor + B. This is the default.
*
- * ADD - additive blending with white clip: C = min(A*factor + B, 255)
+ * ADD - additive blending with white clip: C = min(A*factor + B, 255)
*
- * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor, 0)
+ * SUBTRACT - subtractive blending with black clip: C = max(B - A*factor, 0)
*
- * DARKEST - only the darkest color succeeds: C = min(A*factor, B)
+ * DARKEST - only the darkest color succeeds: C = min(A*factor, B)
*
- * LIGHTEST - only the lightest color succeeds: C = max(A*factor, B)
+ * LIGHTEST - only the lightest color succeeds: C = max(A*factor, B)
*
* DIFFERENCE - subtract colors from underlying image.
*
@@ -11765,7 +11766,7 @@ public void noClip() {
*
*
* @webref rendering
- * @webBrief Blends the pixels in the display window according to a defined mode.
+ * @webBrief Blends the pixels in the display window according to a defined mode
* @param mode the blending mode to use
*/
public void blendMode(int mode) {
@@ -11796,7 +11797,7 @@ public void bezierVertex(float x2, float y2,
* for more information).
*
* @webref shape:vertex
- * @webBrief Specifies vertex coordinates for Bezier curves.
+ * @webBrief Specifies vertex coordinates for Bezier curves
* @param x2 the x-coordinate of the 1st control point
* @param y2 the y-coordinate of the 1st control point
* @param z2 the z-coordinate of the 1st control point
@@ -11832,7 +11833,7 @@ public void bezierVertex(float x2, float y2, float z2,
* reference for more information).
*
* @webref shape:vertex
- * @webBrief Specifies vertex coordinates for quadratic Bezier curves.
+ * @webBrief Specifies vertex coordinates for quadratic Bezier curves
* @param cx the x-coordinate of the control point
* @param cy the y-coordinate of the control point
* @param x3 the x-coordinate of the anchor point
@@ -11876,7 +11877,7 @@ public void quadraticVertex(float cx, float cy, float cz,
*
*
* @webref shape:vertex
- * @webBrief Specifies vertex coordinates for curves.
+ * @webBrief Specifies vertex coordinates for curves
* @param x the x-coordinate of the vertex
* @param y the y-coordinate of the vertex
* @see PGraphics#curve(float, float, float, float, float, float, float, float, float, float, float, float)
@@ -11923,7 +11924,7 @@ public void curveVertex(float x, float y, float z) {
*
*
* @webref shape:2d_primitives
- * @webBrief Draws a point, a coordinate in space at the dimension of one pixel.
+ * @webBrief Draws a point, a coordinate in space at the dimension of one pixel
* @param x x-coordinate of the point
* @param y y-coordinate of the point
* @see PGraphics#stroke(int)
@@ -11956,7 +11957,7 @@ public void point(float x, float y, float z) {
* parameter in combination with size() as shown in the above example.
*
* @webref shape:2d_primitives
- * @webBrief Draws a line (a direct path between two points) to the screen.
+ * @webBrief Draws a line (a direct path between two points) to the screen
* @param x1 x-coordinate of the first point
* @param y1 y-coordinate of the first point
* @param x2 x-coordinate of the second point
@@ -11990,7 +11991,7 @@ public void line(float x1, float y1, float z1,
* second point, and the last two arguments specify the third point.
*
* @webref shape:2d_primitives
- * @webBrief A triangle is a plane created by connecting three points.
+ * @webBrief A triangle is a plane created by connecting three points
* @param x1 x-coordinate of the first point
* @param y1 y-coordinate of the first point
* @param x2 x-coordinate of the second point
@@ -12010,12 +12011,12 @@ public void triangle(float x1, float y1, float x2, float y2,
*
* A quad is a quadrilateral, a four sided polygon. It is similar to a
* rectangle, but the angles between its edges are not constrained to
- * ninety degrees. The first pair of parameters (x1,y1) sets the first
+ * ninety degrees. The first pair of parameters (x1,y1) sets the first
* vertex and the subsequent pairs should proceed clockwise or
* counter-clockwise around the defined shape.
*
* @webref shape:2d_primitives
- * @webBrief A quad is a quadrilateral, a four sided polygon.
+ * @webBrief A quad is a quadrilateral, a four sided polygon
* @param x1 x-coordinate of the first corner
* @param y1 y-coordinate of the first corner
* @param x2 x-coordinate of the second corner
@@ -12057,7 +12058,7 @@ public void quad(float x1, float y1, float x2, float y2,
* case-sensitive language.
*
* @webref shape:attributes
- * @webBrief Modifies the location from which rectangles draw.
+ * @webBrief Modifies the location from which rectangles draw
* @param mode either CORNER, CORNERS, CENTER, or RADIUS
* @see PGraphics#rect(float, float, float, float)
*/
@@ -12085,7 +12086,7 @@ public void rectMode(int mode) {
*
*
* @webref shape:2d_primitives
- * @webBrief Draws a rectangle to the screen.
+ * @webBrief Draws a rectangle to the screen
* @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
@@ -12132,7 +12133,7 @@ public void rect(float a, float b, float c, float d,
*
*
* @webref shape:2d_primitives
- * @webBrief Draws a square to the screen.
+ * @webBrief Draws a square to the screen
* @param x x-coordinate of the rectangle by default
* @param y y-coordinate of the rectangle by default
* @param extent width and height of the rectangle by default
@@ -12172,7 +12173,7 @@ public void square(float x, float y, float extent) {
*
* @webref shape:attributes
* @webBrief The origin of the ellipse is modified by the ellipseMode()
- * function.
+ * function
* @param mode either CENTER, RADIUS, CORNER, or CORNERS
* @see PApplet#ellipse(float, float, float, float)
* @see PApplet#arc(float, float, float, float, float, float)
@@ -12191,7 +12192,7 @@ public void ellipseMode(int mode) {
* be changed with the ellipseMode() function.
*
* @webref shape:2d_primitives
- * @webBrief Draws an ellipse (oval) in the display window.
+ * @webBrief Draws an ellipse (oval) in the display window
* @param a x-coordinate of the ellipse
* @param b y-coordinate of the ellipse
* @param c width of the ellipse by default
@@ -12225,7 +12226,7 @@ public void ellipse(float a, float b, float c, float d) {
* arc yourself with beginShape()/endShape() or a PShape.
*
* @webref shape:2d_primitives
- * @webBrief Draws an arc in the display window.
+ * @webBrief Draws an arc in the display window
* @param a x-coordinate of the arc's ellipse
* @param b y-coordinate of the arc's ellipse
* @param c width of the arc's ellipse by default
@@ -12262,7 +12263,7 @@ public void arc(float a, float b, float c, float d,
* function.
*
* @webref shape:2d_primitives
- * @webBrief Draws a circle to the screen.
+ * @webBrief Draws a circle to the screen
* @param x x-coordinate of the ellipse
* @param y y-coordinate of the ellipse
* @param extent width and height of the ellipse by default
@@ -12277,12 +12278,12 @@ public void circle(float x, float y, float extent) {
/**
*
- * A box is an extruded rectangle. A box with equal dimension on all sides
+ * A box is an extruded rectangle. A box with equal dimension on all sides
* is a cube.
*
*
* @webref shape:3d_primitives
- * @webBrief A box is an extruded rectangle.
+ * @webBrief A box is an extruded rectangle
* @param size dimension of the box in all dimensions (creates a cube)
* @see PGraphics#sphere(float)
*/
@@ -12326,7 +12327,7 @@ public void box(float w, float h, float d) {
* @param res number of segments (minimum 3) used per full circle revolution
* @webref shape:3d_primitives
* @webBrief Controls the detail used to render a sphere by adjusting the number of
- * vertices of the sphere mesh.
+ * vertices of the sphere mesh
* @see PGraphics#sphere(float)
*/
public void sphereDetail(int res) {
@@ -12372,7 +12373,7 @@ public void sphereDetail(int ures, int vres) {
*
*
* @webref shape:3d_primitives
- * @webBrief A sphere is a hollow ball made from tessellated triangles.
+ * @webBrief A sphere is a hollow ball made from tessellated triangles
* @param r the radius of the sphere
* @see PGraphics#sphereDetail(int)
*/
@@ -12413,7 +12414,7 @@ public void sphere(float r) {
* endShape();
*
* @webref shape:curves
- * @webBrief Evaluates the Bezier at point t for points a, b, c, d.
+ * @webBrief Evaluates the Bezier at point t for points a, b, c, d
* @param a coordinate of first point on the curve
* @param b coordinate of first control point
* @param c coordinate of second control point
@@ -12439,7 +12440,7 @@ public float bezierPoint(float a, float b, float c, float d, float t) {
* Code submitted by Dave Bollinger (davbol) for release 0136.
*
* @webref shape:curves
- * @webBrief Calculates the tangent of a point on a Bezier curve.
+ * @webBrief Calculates the tangent of a point on a Bezier curve
* @param a coordinate of first point on the curve
* @param b coordinate of first control point
* @param c coordinate of second control point
@@ -12462,7 +12463,7 @@ public float bezierTangent(float a, float b, float c, float d, float t) {
*
*
* @webref shape:curves
- * @webBrief Sets the resolution at which Beziers display.
+ * @webBrief Sets the resolution at which Beziers display
* @param detail resolution of the curves
* @see PGraphics#curve(float, float, float, float, float, float, float, float,
* float, float, float, float)
@@ -12519,7 +12520,7 @@ public void bezier(float x1, float y1,
* bezier(x1, y1, cx, cy, cx, cy, x2, y2);
*
* @webref shape:curves
- * @webBrief Draws a Bezier curve on the screen.
+ * @webBrief Draws a Bezier curve on the screen
* @param x1 coordinates for the first anchor point
* @param y1 coordinates for the first anchor point
* @param z1 coordinates for the first anchor point
@@ -12557,7 +12558,7 @@ public void bezier(float x1, float y1, float z1,
*
*
* @webref shape:curves
- * @webBrief Evaluates 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
@@ -12584,7 +12585,7 @@ public float curvePoint(float a, float b, float c, float d, float t) {
* Code thanks to Dave Bollinger (Bug #715)
*
* @webref shape:curves
- * @webBrief Calculates the tangent of a point on a curve.
+ * @webBrief Calculates the tangent of a point on a curve
* @param a coordinate of first point on the curve
* @param b coordinate of first control point
* @param c coordinate of second control point
@@ -12608,7 +12609,7 @@ public float curveTangent(float a, float b, float c, float d, float t) {
*
*
* @webref shape:curves
- * @webBrief Sets the resolution at which curves display.
+ * @webBrief Sets the resolution at which curves display
* @param detail resolution of the curves
* @see PGraphics#curve(float, float, float, float, float, float, float, float, float, float, float, float)
* @see PGraphics#curveVertex(float, float)
@@ -12633,7 +12634,7 @@ public void curveDetail(int detail) {
*
* @webref shape:curves
* @webBrief Modifies the quality of forms created with curve() and
- * curveVertex().
+ * curveVertex()
* @param tightness amount of deformation from the original vertices
* @see PGraphics#curve(float, float, float, float, float, float, float, float,
* float, float, float, float)
@@ -12673,7 +12674,7 @@ public void curveTightness(float tightness) {
*
*
* @webref shape:curves
- * @webBrief Draws a curved line on the screen.
+ * @webBrief Draws a curved line on the screen
* @param x1 coordinates for the beginning control point
* @param y1 coordinates for the beginning control point
* @param x2 coordinates for the first point
@@ -12733,7 +12734,7 @@ public void curve(float x1, float y1, float z1,
*
*
* @webref image:loading_displaying
- * @webBrief Modifies the location from which images draw.
+ * @webBrief Modifies the location from which images draw
* @param mode either CORNER, CORNERS, or CENTER
* @see PApplet#loadImage(String, String)
* @see PImage
@@ -12767,7 +12768,7 @@ public void imageMode(int mode) {
* renderer, smooth() will also improve image quality of resized images.
*
* @webref image:loading_displaying
- * @webBrief Displays images to the screen.
+ * @webBrief Displays images to the screen
* @param img the image to display
* @param a x-coordinate of the image by default
* @param b y-coordinate of the image by default
@@ -12825,7 +12826,7 @@ public void image(PImage img,
*
*
* @webref shape:loading_displaying
- * @webBrief Modifies the location from which shapes draw.
+ * @webBrief Modifies the location from which shapes draw
* @param mode either CORNER, CORNERS, CENTER
* @see PShape
* @see PGraphics#shape(PShape)
@@ -12856,7 +12857,7 @@ public void shape(PShape shape) {
*
*
* @webref shape:loading_displaying
- * @webBrief Displays shapes to the screen.
+ * @webBrief Displays shapes to the screen
* @param shape the shape to display
* @param x x-coordinate of the shape
* @param y y-coordinate of the shape
@@ -12919,7 +12920,7 @@ public void textAlign(int alignX) {
*
*
* @webref typography:attributes
- * @webBrief Sets the current alignment for drawing text.
+ * @webBrief Sets the current alignment for drawing text
* @param alignX horizontal alignment, either LEFT, CENTER, or RIGHT
* @param alignY vertical alignment, either TOP, BOTTOM, CENTER, or BASELINE
* @see PApplet#loadFont(String)
@@ -12942,7 +12943,7 @@ public void textAlign(int alignX, int alignY) {
*
*
* @webref typography:metrics
- * @webBrief Returns ascent of the current font at its current size.
+ * @webBrief Returns ascent of the current font at its current size
* @see PGraphics#textDescent()
*/
public float textAscent() {
@@ -12956,7 +12957,7 @@ public float textAscent() {
* useful for determining the height of the font below the baseline.
*
* @webref typography:metrics
- * @webBrief Returns descent of the current font at its current size.
+ * @webBrief Returns descent of the current font at its current size
* @see PGraphics#textAscent()
*/
public float textDescent() {
@@ -12985,7 +12986,7 @@ public float textDescent() {
*
* @webref typography:loading_displaying
* @webBrief Sets the current font that will be drawn with the text()
- * function.
+ * function
* @param which any variable of the type PFont
* @see PApplet#createFont(String, float, boolean)
* @see PApplet#loadFont(String)
@@ -13019,7 +13020,7 @@ public void textFont(PFont which, float size) {
*
*
* @webref typography:attributes
- * @webBrief Sets the spacing between lines of text in units of pixels.
+ * @webBrief Sets the spacing between lines of text in units of pixels
* @param leading the size in pixels for spacing between lines
* @see PApplet#loadFont(String)
* @see PFont#PFont
@@ -13052,7 +13053,7 @@ public void textLeading(float leading) {
* beginRaw().
*
* @webref typography:attributes
- * @webBrief Sets the way text draws to the screen.
+ * @webBrief Sets the way text draws to the screen
* @param mode either MODEL or SHAPE
* @see PApplet#loadFont(String)
* @see PFont#PFont
@@ -13074,7 +13075,7 @@ public void textMode(int mode) {
*
*
* @webref typography:attributes
- * @webBrief Sets the current font size.
+ * @webBrief Sets the current font size
* @param size the size of the letters in units of pixels
* @see PApplet#loadFont(String)
* @see PFont#PFont
@@ -13101,7 +13102,7 @@ public float textWidth(char c) {
*
*
* @webref typography:attributes
- * @webBrief Calculates and returns the width of any character or text string.
+ * @webBrief Calculates and returns the width of any character or text string
* @param str the String of characters to measure
* @see PApplet#loadFont(String)
* @see PFont#PFont
@@ -13145,7 +13146,7 @@ public float textWidth(char[] chars, int start, int length) {
*
*
* @webref typography:loading_displaying
- * @webBrief Draws text to the screen.
+ * @webBrief Draws text to the screen
* @param c the alphanumeric character to be displayed
* @param x x-coordinate of text
* @param y y-coordinate of text
@@ -13308,7 +13309,7 @@ public void text(float num, float x, float y, float z) {
* @webref structure
* @webBrief The push() function saves the current drawing style
* settings and transformations, while pop() restores these
- * settings.
+ * settings
* @see PGraphics#pop()
*/
public void push() {
@@ -13346,7 +13347,7 @@ public void push() {
*
* @webref structure
* @webBrief The pop() function restores the previous drawing style
- * settings and transformations after push() has changed them.
+ * settings and transformations after push() has changed them
* @see PGraphics#push()
*/
public void pop() {
@@ -13368,7 +13369,7 @@ public void pop() {
*
*
* @webref transform
- * @webBrief Pushes the current transformation matrix onto the matrix stack.
+ * @webBrief Pushes the current transformation matrix onto the matrix stack
* @see PGraphics#popMatrix()
* @see PGraphics#translate(float, float, float)
* @see PGraphics#scale(float)
@@ -13395,7 +13396,7 @@ public void pushMatrix() {
*
*
* @webref transform
- * @webBrief Pops the current transformation matrix off the matrix stack.
+ * @webBrief Pops the current transformation matrix off the matrix stack
* @see PGraphics#pushMatrix()
*/
public void popMatrix() {
@@ -13423,7 +13424,7 @@ public void popMatrix() {
*
*
* @webref transform
- * @webBrief Specifies an amount to displace objects within the display window.
+ * @webBrief Specifies an amount to displace objects within the display window
* @param x left/right translation
* @param y up/down translation
* @see PGraphics#popMatrix()
@@ -13469,7 +13470,7 @@ public void translate(float x, float y, float z) {
*
*
* @webref transform
- * @webBrief Rotates a shape the amount specified by the angle parameter.
+ * @webBrief Rotates a shape the amount specified by the angle parameter
* @param angle angle of rotation specified in radians
* @see PGraphics#popMatrix()
* @see PGraphics#pushMatrix()
@@ -13503,7 +13504,7 @@ public void rotate(float angle) {
*
* @webref transform
* @webBrief Rotates a shape around the x-axis the amount specified by the
- * angle parameter.
+ * angle parameter
* @param angle angle of rotation specified in radians
* @see PGraphics#popMatrix()
* @see PGraphics#pushMatrix()
@@ -13537,7 +13538,7 @@ public void rotateX(float angle) {
*
* @webref transform
* @webBrief Rotates a shape around the y-axis the amount specified by the
- * angle parameter.
+ * angle parameter
* @param angle angle of rotation specified in radians
* @see PGraphics#popMatrix()
* @see PGraphics#pushMatrix()
@@ -13571,7 +13572,7 @@ public void rotateY(float angle) {
*
* @webref transform
* @webBrief Rotates a shape around the z-axis the amount specified by the
- * angle parameter.
+ * angle parameter
* @param angle angle of rotation specified in radians
* @see PGraphics#popMatrix()
* @see PGraphics#pushMatrix()
@@ -13618,7 +13619,7 @@ public void rotate(float angle, float x, float y, float z) {
*
* @webref transform
* @webBrief Increases or decreases the size of a shape by expanding and
- * contracting vertices.
+ * contracting vertices
* @param s percentage to scale the object
* @see PGraphics#pushMatrix()
* @see PGraphics#popMatrix()
@@ -13679,7 +13680,7 @@ public void scale(float x, float y, float z) {
*
* @webref transform
* @webBrief Shears a shape around the x-axis the amount specified by the
- * angle parameter.
+ * angle parameter
* @param angle angle of shear specified in radians
* @see PGraphics#popMatrix()
* @see PGraphics#pushMatrix()
@@ -13714,7 +13715,7 @@ public void shearX(float angle) {
*
* @webref transform
* @webBrief Shears a shape around the y-axis the amount specified by the
- * angle parameter.
+ * angle parameter
* @param angle angle of shear specified in radians
* @see PGraphics#popMatrix()
* @see PGraphics#pushMatrix()
@@ -13736,7 +13737,7 @@ public void shearY(float angle) {
*
*
* @webref transform
- * @webBrief Replaces the current matrix with the identity matrix.
+ * @webBrief Replaces the current matrix with the identity matrix
* @see PGraphics#pushMatrix()
* @see PGraphics#popMatrix()
* @see PGraphics#applyMatrix(PMatrix)
@@ -13753,12 +13754,12 @@ public void resetMatrix() {
* Multiplies the current matrix by the one specified through the
* parameters. This is very slow because it will try to calculate the
* inverse of the transform, so avoid it whenever possible. The equivalent
- * function in OpenGL is glMultMatrix().
+ * function in OpenGL is glMultMatrix().
*
*
* @webref transform
* @webBrief Multiplies the current matrix by the one specified through the
- * parameters.
+ * parameters
* @source
* @see PGraphics#pushMatrix()
* @see PGraphics#popMatrix()
@@ -13877,7 +13878,7 @@ public void setMatrix(PMatrix3D source) {
*
* @webref transform
* @webBrief Prints the current matrix to the Console (the text window at the bottom
- * of Processing).
+ * of Processing)
* @see PGraphics#pushMatrix()
* @see PGraphics#popMatrix()
* @see PGraphics#resetMatrix()
@@ -13911,7 +13912,7 @@ public void printMatrix() {
*
* @webref lights_camera:camera
* @webBrief The beginCamera() and endCamera() functions enable
- * advanced customization of the camera space.
+ * advanced customization of the camera space
* @see PGraphics#camera()
* @see PGraphics#endCamera()
* @see PGraphics#applyMatrix(PMatrix)
@@ -13934,7 +13935,7 @@ public void beginCamera() {
*
* @webref lights_camera:camera
* @webBrief The beginCamera() and endCamera() functions enable
- * advanced customization of the camera space.
+ * advanced customization of the camera space
* @see PGraphics#beginCamera()
* @see PGraphics#camera(float, float, float, float, float, float, float, float, float)
*/
@@ -13958,7 +13959,7 @@ public void endCamera() {
*
*
* @webref lights_camera:camera
- * @webBrief Sets the position of the camera.
+ * @webBrief Sets the position of the camera
* @see PGraphics#beginCamera()
* @see PGraphics#endCamera()
* @see PGraphics#frustum(float, float, float, float, float, float)
@@ -13995,7 +13996,7 @@ public void camera(float eyeX, float eyeY, float eyeZ,
*
* @webref lights_camera:camera
* @webBrief Prints the current camera matrix to the Console (the text window at the
- * bottom of Processing).
+ * bottom of Processing)
* @see PGraphics#camera(float, float, float, float, float, float, float, float, float)
*/
public void printCamera() {
@@ -14017,7 +14018,7 @@ public void printCamera() {
*
* @webref lights_camera:camera
* @webBrief Sets an orthographic projection and defines a parallel clipping
- * volume.
+ * volume
*/
public void ortho() {
if (recorder != null) recorder.ortho();
@@ -14061,12 +14062,12 @@ public void ortho(float left, float right,
* without parameters sets the default perspective and the version with
* four parameters allows the programmer to set the area precisely. The
* default values are: perspective(PI/3.0, width/height, cameraZ/10.0,
- * cameraZ*10.0) where cameraZ is ((height/2.0) / tan(PI*60.0/360.0));
+ * cameraZ*10.0)
*
- * Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
+ * Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
* depending on the graphics settings of the computer. Workarounds include
* setting the pixel using set() or drawing the point using either
* circle() or square().
@@ -14377,7 +14378,7 @@ public void style(PStyle s) {
*
* @webref shape:attributes
* @webBrief Sets the width of the stroke used for lines, points, and the border
- * around shapes.
+ * around shapes
* @param weight the weight (in pixels) of the stroke
* @see PGraphics#stroke(int, float)
* @see PGraphics#strokeJoin(int)
@@ -14397,7 +14398,7 @@ public void strokeWeight(float weight) {
*
*
* @webref shape:attributes
- * @webBrief Sets the style of the joints which connect line segments.
+ * @webBrief Sets the style of the joints which connect line segments
* @param join either MITER, BEVEL, ROUND
* @see PGraphics#stroke(int, float)
* @see PGraphics#strokeWeight(float)
@@ -14419,7 +14420,7 @@ public void strokeJoin(int join) {
* strokeCap(SQUARE) (no cap) causes points to become invisible.
*
* @webref shape:attributes
- * @webBrief Sets the style for rendering line endings.
+ * @webBrief Sets the style for rendering line endings
* @param cap either SQUARE, PROJECT, or ROUND
* @see PGraphics#stroke(int, float)
* @see PGraphics#strokeWeight(float)
@@ -14439,7 +14440,7 @@ public void strokeCap(int cap) {
*
*
* @webref color:setting
- * @webBrief Disables drawing the stroke (outline).
+ * @webBrief Disables drawing the stroke (outline)
* @see PGraphics#stroke(int, float)
* @see PGraphics#fill(float, float, float, float)
* @see PGraphics#noFill()
@@ -14471,10 +14472,10 @@ public void noStroke() {
*
* When drawing in 2D with the default renderer, you may need
* hint(ENABLE_STROKE_PURE) to improve drawing quality (at the expense of
- * performance). See the hint() documentation for more details.
+ * performance). See the hint() documentation for more details.
*
* @webref color:setting
- * @webBrief Sets the color used to draw lines and borders around shapes.
+ * @webBrief Sets the color used to draw lines and borders around shapes
* @param rgb color value in hexadecimal notation
* @see PGraphics#noStroke()
* @see PGraphics#strokeWeight(float)
@@ -14541,7 +14542,7 @@ public void stroke(float v1, float v2, float v3, float alpha) {
*
* @webref image:loading_displaying
* @webBrief Removes the current fill value for displaying images and reverts to
- * displaying images with their original hues.
+ * displaying images with their original hues
* @usage web_application
* @see PGraphics#tint(float, float, float, float)
* @see PGraphics#image(PImage, float, float, float, float)
@@ -14579,7 +14580,7 @@ public void noTint() {
*
*
* @webref image:loading_displaying
- * @webBrief Sets the fill value for displaying images.
+ * @webBrief Sets the fill value for displaying images
* @usage web_application
* @param rgb color value in hexadecimal notation
* @see PGraphics#noTint()
@@ -14639,7 +14640,7 @@ public void tint(float v1, float v2, float v3, float alpha) {
*
*
* @webref color:setting
- * @webBrief Disables filling geometry.
+ * @webBrief Disables filling geometry
* @usage web_application
* @see PGraphics#fill(float, float, float, float)
* @see PGraphics#stroke(int, float)
@@ -14675,7 +14676,7 @@ public void noFill() {
*
*
* @webref color:setting
- * @webBrief Sets the color used to fill shapes.
+ * @webBrief Sets the color used to fill shapes
* @usage web_application
* @param rgb color variable or hex value
* @see PGraphics#noFill()
@@ -14744,7 +14745,7 @@ public void fill(float v1, float v2, float v3, float alpha) {
*
*
* @webref lights_camera:material_properties
- * @webBrief Sets the ambient reflectance for shapes drawn to the screen.
+ * @webBrief Sets the ambient reflectance for shapes drawn to the screen
* @usage web_application
* @param rgb any value of the color datatype
* @see PGraphics#emissive(float, float, float)
@@ -14788,7 +14789,7 @@ public void ambient(float v1, float v2, float v3) {
*
* @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 highlights.
+ * screen, which sets the color of highlights
* @usage web_application
* @param rgb color to set
* @see PGraphics#lightSpecular(float, float, float)
@@ -14832,7 +14833,7 @@ public void specular(float v1, float v2, float v3) {
*
*
* @webref lights_camera:material_properties
- * @webBrief Sets the amount of gloss in the surface of shapes.
+ * @webBrief Sets the amount of gloss in the surface of shapes
* @usage web_application
* @param shine degree of shininess
* @see PGraphics#emissive(float, float, float)
@@ -14855,7 +14856,7 @@ public void shininess(float shine) {
*
* @webref lights_camera:material_properties
* @webBrief Sets the emissive color of the material used for drawing shapes drawn to
- * the screen.
+ * the screen
* @usage web_application
* @param rgb color to set
* @see PGraphics#ambient(float, float, float)
@@ -14894,7 +14895,7 @@ public void emissive(float v1, float v2, float v3) {
*
* Sets the default ambient light, directional light, falloff, and specular
* values. The defaults are ambientLight(128, 128, 128) and
- * directionalLight(128, 128, 128, 0, 0, -1), lightFalloff(1, 0, 0), and
+ * directionalLight(128, 128, 128, 0, 0, -1), lightFalloff(1, 0, 0), and
* lightSpecular(0, 0, 0). Lights need to be included in the draw() to
* remain persistent in a looping program. Placing them in the setup() of a
* looping program will cause them to only have an effect the first time
@@ -14903,7 +14904,7 @@ public void emissive(float v1, float v2, float v3) {
*
* @webref lights_camera:lights
* @webBrief Sets the default ambient light, directional light, falloff, and specular
- * values.
+ * values
* @usage web_application
* @see PGraphics#ambientLight(float, float, float, float, float, float)
* @see PGraphics#directionalLight(float, float, float, float, float, float)
@@ -14926,7 +14927,7 @@ public void lights() {
*
*
* @webref lights_camera:lights
- * @webBrief Disable all lighting.
+ * @webBrief Disable all lighting
* @usage web_application
* @see PGraphics#lights()
*/
@@ -14949,7 +14950,7 @@ public void noLights() {
*
*
* @webref lights_camera:lights
- * @webBrief Adds an ambient light.
+ * @webBrief Adds an ambient light
* @usage web_application
* @param v1 red or hue value (depending on current color mode)
* @param v2 green or saturation value (depending on current color mode)
@@ -14994,7 +14995,7 @@ public void ambientLight(float v1, float v2, float v3,
*
*
* @webref lights_camera:lights
- * @webBrief Adds a directional light.
+ * @webBrief Adds a directional light
* @usage web_application
* @param v1 red or hue value (depending on current color mode)
* @param v2 green or saturation value (depending on current color mode)
@@ -15025,7 +15026,7 @@ public void directionalLight(float v1, float v2, float v3,
*
*
* @webref lights_camera:lights
- * @webBrief Adds a point light.
+ * @webBrief Adds a point light
* @usage web_application
* @param v1 red or hue value (depending on current color mode)
* @param v2 green or saturation value (depending on current color mode)
@@ -15060,7 +15061,7 @@ public void pointLight(float v1, float v2, float v3,
* that cone.
*
* @webref lights_camera:lights
- * @webBrief Adds a spot light.
+ * @webBrief Adds a spot light
* @usage web_application
* @param v1 red or hue value (depending on current color mode)
* @param v2 green or saturation value (depending on current color
@@ -15109,7 +15110,7 @@ public void spotLight(float v1, float v2, float v3,
*
* @webref lights_camera:lights
* @webBrief Sets the falloff rates for point lights, spot lights, and ambient
- * lights.
+ * lights
* @usage web_application
* @param constant constant value or determining falloff
* @param linear linear value for determining falloff
@@ -15139,7 +15140,7 @@ public void lightFalloff(float constant, float linear, float quadratic) {
*
*
* @webref lights_camera:lights
- * @webBrief Sets the specular color for lights.
+ * @webBrief Sets the specular color for lights
* @usage web_application
* @param v1 red or hue value (depending on current color mode)
* @param v2 green or saturation value (depending on current color mode)
@@ -15191,7 +15192,7 @@ public void lightSpecular(float v1, float v2, float v3) {
*
bezier(x1, y1, cx, cy, cx, cy, x2, y2);* * @webref shape:curves - * @webBrief Draws a Bezier curve on the screen. + * @webBrief Draws a Bezier curve on the screen * @param x1 coordinates for the first anchor point * @param y1 coordinates for the first anchor point * @param z1 coordinates for the first anchor point @@ -3567,7 +3567,7 @@ public void bezier(float x1, float y1, float z1, * * * @webref shape:curves - * @webBrief Evaluates 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 @@ -3604,7 +3604,7 @@ public float curvePoint(float a, float b, float c, float d, float t) { * Code thanks to Dave Bollinger (Bug #715) * * @webref shape:curves - * @webBrief Calculates the tangent of a point on a curve. + * @webBrief Calculates the tangent of a point on a curve * @param a coordinate of first point on the curve * @param b coordinate of first control point * @param c coordinate of second control point @@ -3638,7 +3638,7 @@ public float curveTangent(float a, float b, float c, float d, float t) { * * * @webref shape:curves - * @webBrief Sets the resolution at which curves display. + * @webBrief Sets the resolution at which curves display * @param detail resolution of the curves * @see PGraphics#curve(float, float, float, float, float, float, float, float, float, float, float, float) * @see PGraphics#curveVertex(float, float) @@ -3663,7 +3663,7 @@ public void curveDetail(int detail) { * * @webref shape:curves * @webBrief Modifies the quality of forms created with curve() and - * curveVertex(). + * curveVertex() * @param tightness amount of deformation from the original vertices * @see PGraphics#curve(float, float, float, float, float, float, float, float, * float, float, float, float) @@ -3756,7 +3756,7 @@ protected void curveInit() { * * * @webref shape:curves - * @webBrief Draws a curved line on the screen. + * @webBrief Draws a curved line on the screen * @param x1 coordinates for the beginning control point * @param y1 coordinates for the beginning control point * @param x2 coordinates for the first point @@ -3894,7 +3894,7 @@ private void smoothWarning(String method) { * * * @webref image:loading_displaying - * @webBrief Modifies the location from which images draw. + * @webBrief Modifies the location from which images draw * @param mode either CORNER, CORNERS, or CENTER * @see PApplet#loadImage(String, String) * @see PImage @@ -3933,7 +3933,7 @@ public void imageMode(int mode) { * renderer, smooth() will also improve image quality of resized images. * * @webref image:loading_displaying - * @webBrief Displays images to the screen. + * @webBrief Displays images to the screen * @param img the image to display * @param a x-coordinate of the image by default * @param b y-coordinate of the image by default @@ -4106,7 +4106,7 @@ protected void imageImpl(PImage img, * * * @webref shape:loading_displaying - * @webBrief Modifies the location from which shapes draw. + * @webBrief Modifies the location from which shapes draw * @param mode either CORNER, CORNERS, CENTER * @see PShape * @see PGraphics#shape(PShape) @@ -4150,7 +4150,7 @@ public void shape(PShape shape) { * * * @webref shape:loading_displaying - * @webBrief Displays shapes to the screen. + * @webBrief Displays shapes to the screen * @param shape the shape to display * @param x x-coordinate of the shape * @param y y-coordinate of the shape @@ -4326,7 +4326,7 @@ public void textAlign(int alignX) { * * * @webref typography:attributes - * @webBrief Sets the current alignment for drawing text. + * @webBrief Sets the current alignment for drawing text * @param alignX horizontal alignment, either LEFT, CENTER, or RIGHT * @param alignY vertical alignment, either TOP, BOTTOM, CENTER, or BASELINE * @see PApplet#loadFont(String) @@ -4349,7 +4349,7 @@ public void textAlign(int alignX, int alignY) { * * * @webref typography:metrics - * @webBrief Returns ascent of the current font at its current size. + * @webBrief Returns ascent of the current font at its current size * @see PGraphics#textDescent() */ public float textAscent() { @@ -4366,7 +4366,7 @@ public float textAscent() { * useful for determining the height of the font below the baseline. * * @webref typography:metrics - * @webBrief Returns descent of the current font at its current size. + * @webBrief Returns descent of the current font at its current size * @see PGraphics#textAscent() */ public float textDescent() { @@ -4398,7 +4398,7 @@ public float textDescent() { * * @webref typography:loading_displaying * @webBrief Sets the current font that will be drawn with the text() - * function. + * function * @param which any variable of the type PFont * @see PApplet#createFont(String, float, boolean) * @see PApplet#loadFont(String) @@ -4488,7 +4488,7 @@ protected void textFontImpl(PFont which, float size) { * * * @webref typography:attributes - * @webBrief Sets the spacing between lines of text in units of pixels. + * @webBrief Sets the spacing between lines of text in units of pixels * @param leading the size in pixels for spacing between lines * @see PApplet#loadFont(String) * @see PFont#PFont @@ -4520,7 +4520,7 @@ public void textLeading(float leading) { * beginRaw(). * * @webref typography:attributes - * @webBrief Sets the way text draws to the screen. + * @webBrief Sets the way text draws to the screen * @param mode either MODEL or SHAPE * @see PApplet#loadFont(String) * @see PFont#PFont @@ -4565,7 +4565,7 @@ protected boolean textModeCheck(int mode) { * * * @webref typography:attributes - * @webBrief Sets the current font size. + * @webBrief Sets the current font size * @param size the size of the letters in units of pixels * @see PApplet#loadFont(String) * @see PFont#PFont @@ -4628,7 +4628,7 @@ public float textWidth(char c) { * * * @webref typography:attributes - * @webBrief Calculates and returns the width of any character or text string. + * @webBrief Calculates and returns the width of any character or text string * @param str the String of characters to measure * @see PApplet#loadFont(String) * @see PFont#PFont @@ -4715,7 +4715,7 @@ protected float textWidthImpl(char[] buffer, int start, int stop) { * * * @webref typography:loading_displaying - * @webBrief Draws text to the screen. + * @webBrief Draws text to the screen * @param c the alphanumeric character to be displayed * @param x x-coordinate of text * @param y y-coordinate of text @@ -5319,7 +5319,7 @@ protected void textCharScreenImpl(PImage glyph, * @webref structure * @webBrief The push() function saves the current drawing style * settings and transformations, while pop() restores these - * settings. + * settings * @see PGraphics#pop() */ public void push() { @@ -5356,7 +5356,7 @@ public void push() { * * @webref structure * @webBrief The pop() function restores the previous drawing style - * settings and transformations after push() has changed them. + * settings and transformations after push() has changed them * @see PGraphics#push() */ public void pop() { @@ -5384,7 +5384,7 @@ public void pop() { * * * @webref transform - * @webBrief Pushes the current transformation matrix onto the matrix stack. + * @webBrief Pushes the current transformation matrix onto the matrix stack * @see PGraphics#popMatrix() * @see PGraphics#translate(float, float, float) * @see PGraphics#scale(float) @@ -5410,7 +5410,7 @@ public void pushMatrix() { * * * @webref transform - * @webBrief Pops the current transformation matrix off the matrix stack. + * @webBrief Pops the current transformation matrix off the matrix stack * @see PGraphics#pushMatrix() */ public void popMatrix() { @@ -5443,7 +5443,7 @@ public void popMatrix() { * * * @webref transform - * @webBrief Specifies an amount to displace objects within the display window. + * @webBrief Specifies an amount to displace objects within the display window * @param x left/right translation * @param y up/down translation * @see PGraphics#popMatrix() @@ -5487,7 +5487,7 @@ public void translate(float x, float y, float z) { * * * @webref transform - * @webBrief Rotates a shape the amount specified by the angle parameter. + * @webBrief Rotates a shape the amount specified by the angle parameter * @param angle angle of rotation specified in radians * @see PGraphics#popMatrix() * @see PGraphics#pushMatrix() @@ -5520,7 +5520,7 @@ public void rotate(float angle) { * * @webref transform * @webBrief Rotates a shape around the x-axis the amount specified by the - * angle parameter. + * angle parameter * @param angle angle of rotation specified in radians * @see PGraphics#popMatrix() * @see PGraphics#pushMatrix() @@ -5553,7 +5553,7 @@ public void rotateX(float angle) { * * @webref transform * @webBrief Rotates a shape around the y-axis the amount specified by the - * angle parameter. + * angle parameter * @param angle angle of rotation specified in radians * @see PGraphics#popMatrix() * @see PGraphics#pushMatrix() @@ -5586,7 +5586,7 @@ public void rotateY(float angle) { * * @webref transform * @webBrief Rotates a shape around the z-axis the amount specified by the - * angle parameter. + * angle parameter * @param angle angle of rotation specified in radians * @see PGraphics#popMatrix() * @see PGraphics#pushMatrix() @@ -5631,7 +5631,7 @@ public void rotate(float angle, float x, float y, float z) { * * @webref transform * @webBrief Increases or decreases the size of a shape by expanding and - * contracting vertices. + * contracting vertices * @param s percentage to scale the object * @see PGraphics#pushMatrix() * @see PGraphics#popMatrix() @@ -5689,7 +5689,7 @@ public void scale(float x, float y, float z) { * * @webref transform * @webBrief Shears a shape around the x-axis the amount specified by the - * angle parameter. + * angle parameter * @param angle angle of shear specified in radians * @see PGraphics#popMatrix() * @see PGraphics#pushMatrix() @@ -5723,7 +5723,7 @@ public void shearX(float angle) { * * @webref transform * @webBrief Shears a shape around the y-axis the amount specified by the - * angle parameter. + * angle parameter * @param angle angle of shear specified in radians * @see PGraphics#popMatrix() * @see PGraphics#pushMatrix() @@ -5749,7 +5749,7 @@ public void shearY(float angle) { * * * @webref transform - * @webBrief Replaces the current matrix with the identity matrix. + * @webBrief Replaces the current matrix with the identity matrix * @see PGraphics#pushMatrix() * @see PGraphics#popMatrix() * @see PGraphics#applyMatrix(PMatrix) @@ -5769,7 +5769,7 @@ public void resetMatrix() { * * @webref transform * @webBrief Multiplies the current matrix by the one specified through the - * parameters. + * parameters * @source * @see PGraphics#pushMatrix() * @see PGraphics#popMatrix() @@ -5900,7 +5900,7 @@ public void setMatrix(PMatrix3D source) { * * @webref transform * @webBrief Prints the current matrix to the Console (the text window at the bottom - * of Processing). + * of Processing) * @see PGraphics#pushMatrix() * @see PGraphics#popMatrix() * @see PGraphics#resetMatrix() @@ -5937,7 +5937,7 @@ public void printMatrix() { * * @webref lights_camera:camera * @webBrief The beginCamera() and endCamera() functions enable - * advanced customization of the camera space. + * advanced customization of the camera space * @see PGraphics#camera() * @see PGraphics#endCamera() * @see PGraphics#applyMatrix(PMatrix) @@ -5958,7 +5958,7 @@ public void beginCamera() { * * @webref lights_camera:camera * @webBrief The beginCamera() and endCamera() functions enable - * advanced customization of the camera space. + * advanced customization of the camera space * @see PGraphics#beginCamera() * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) */ @@ -5980,7 +5980,7 @@ public void endCamera() { * * * @webref lights_camera:camera - * @webBrief Sets the position of the camera. + * @webBrief Sets the position of the camera * @see PGraphics#beginCamera() * @see PGraphics#endCamera() * @see PGraphics#frustum(float, float, float, float, float, float) @@ -6013,7 +6013,7 @@ public void camera(float eyeX, float eyeY, float eyeZ, * * @webref lights_camera:camera * @webBrief Prints the current camera matrix to the Console (the text window at the - * bottom of Processing). + * bottom of Processing) * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) */ public void printCamera() { @@ -6039,7 +6039,7 @@ public void printCamera() { * * @webref lights_camera:camera * @webBrief Sets an orthographic projection and defines a parallel clipping - * volume. + * volume */ public void ortho() { showMissingWarning("ortho"); @@ -6082,7 +6082,7 @@ public void ortho(float left, float right, * * @webref lights_camera:camera * @webBrief Sets a perspective projection applying foreshortening, making distant - * objects appear smaller than closer ones. + * objects appear smaller than closer ones */ public void perspective() { showMissingWarning("perspective"); @@ -6122,7 +6122,7 @@ public void perspective(float fovy, float aspect, float zNear, float zFar) { * * * @webref lights_camera:camera - * @webBrief Sets a perspective matrix defined through the parameters. + * @webBrief Sets a perspective matrix defined through the parameters * @param left left coordinate of the clipping plane * @param right right coordinate of the clipping plane * @param bottom bottom coordinate of the clipping plane @@ -6149,7 +6149,7 @@ public void frustum(float left, float right, * * * @webref lights_camera:camera - * @webBrief Prints the current projection matrix to the Console. + * @webBrief Prints the current projection matrix to the Console * @see PGraphics#camera(float, float, float, float, float, float, float, float, float) */ public void printProjection() { @@ -6171,7 +6171,7 @@ public void printProjection() { * * @webref lights_camera:coordinates * @webBrief Takes a three-dimensional X, Y, Z position and returns the X value for - * where it will appear on a (two-dimensional) screen. + * where it will appear on a (two-dimensional) screen * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped * @see PGraphics#screenY(float, float, float) @@ -6191,7 +6191,7 @@ public float screenX(float x, float y) { * * @webref lights_camera:coordinates * @webBrief Takes a three-dimensional X, Y, Z position and returns the Y value for - * where it will appear on a (two-dimensional) screen. + * where it will appear on a (two-dimensional) screen * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped * @see PGraphics#screenX(float, float, float) @@ -6230,7 +6230,7 @@ public float screenY(float x, float y, float z) { * * @webref lights_camera:coordinates * @webBrief Takes a three-dimensional X, Y, Z position and returns the Z value for - * where it will appear on a (two-dimensional) screen. + * where it will appear on a (two-dimensional) screen * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped * @param z 3D z-coordinate to be mapped @@ -6260,7 +6260,7 @@ public float screenZ(float x, float y, float z) { * * * @webref lights_camera:coordinates - * @webBrief Returns the three-dimensional X, Y, Z position in model space. + * @webBrief Returns the three-dimensional X, Y, Z position in model space * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped * @param z 3D z-coordinate to be mapped @@ -6290,7 +6290,7 @@ public float modelX(float x, float y, float z) { * * * @webref lights_camera:coordinates - * @webBrief Returns the three-dimensional X, Y, Z position in model space. + * @webBrief Returns the three-dimensional X, Y, Z position in model space * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped * @param z 3D z-coordinate to be mapped @@ -6320,7 +6320,7 @@ public float modelY(float x, float y, float z) { * * * @webref lights_camera:coordinates - * @webBrief Returns the three-dimensional X, Y, Z position in model space. + * @webBrief Returns the three-dimensional X, Y, Z position in model space * @param x 3D x-coordinate to be mapped * @param y 3D y-coordinate to be mapped * @param z 3D z-coordinate to be mapped @@ -6357,7 +6357,7 @@ public float modelZ(float x, float y, float z) { * * * @webref structure - * @webBrief Saves the current style settings and popStyle() restores the prior settings. + * @webBrief Saves the current style settings and popStyle() restores the prior settings * @see PGraphics#popStyle() */ public void pushStyle() { @@ -6547,7 +6547,7 @@ public PStyle getStyle(PStyle s) { // ignore * * @webref shape:attributes * @webBrief Sets the width of the stroke used for lines, points, and the border - * around shapes. + * around shapes * @param weight the weight (in pixels) of the stroke * @see PGraphics#stroke(int, float) * @see PGraphics#strokeJoin(int) @@ -6565,7 +6565,7 @@ public void strokeWeight(float weight) { * * * @webref shape:attributes - * @webBrief Sets the style of the joints which connect line segments. + * @webBrief Sets the style of the joints which connect line segments * @param join either MITER, BEVEL, ROUND * @see PGraphics#stroke(int, float) * @see PGraphics#strokeWeight(float) @@ -6585,7 +6585,7 @@ public void strokeJoin(int join) { * strokeCap(SQUARE) (no cap) causes points to become invisible. * * @webref shape:attributes - * @webBrief Sets the style for rendering line endings. + * @webBrief Sets the style for rendering line endings * @param cap either SQUARE, PROJECT, or ROUND * @see PGraphics#stroke(int, float) * @see PGraphics#strokeWeight(float) @@ -6610,7 +6610,7 @@ public void strokeCap(int cap) { * * * @webref color:setting - * @webBrief Disables drawing the stroke (outline). + * @webBrief Disables drawing the stroke (outline) * @see PGraphics#stroke(int, float) * @see PGraphics#fill(float, float, float, float) * @see PGraphics#noFill() @@ -6644,7 +6644,7 @@ public void noStroke() { * performance). See the hint() documentation for more details. * * @webref color:setting - * @webBrief Sets the color used to draw lines and borders around shapes. + * @webBrief Sets the color used to draw lines and borders around shapes * @param rgb color value in hexadecimal notation * @see PGraphics#noStroke() * @see PGraphics#strokeWeight(float) @@ -6732,7 +6732,7 @@ protected void strokeFromCalc() { * * @webref image:loading_displaying * @webBrief Removes the current fill value for displaying images and reverts to - * displaying images with their original hues. + * displaying images with their original hues * @usage web_application * @see PGraphics#tint(float, float, float, float) * @see PGraphics#image(PImage, float, float, float, float) @@ -6769,7 +6769,7 @@ public void noTint() { * * * @webref image:loading_displaying - * @webBrief Sets the fill value for displaying images. + * @webBrief Sets the fill value for displaying images * @usage web_application * @param rgb color value in hexadecimal notation * @see PGraphics#noTint() @@ -6849,7 +6849,7 @@ protected void tintFromCalc() { * * * @webref color:setting - * @webBrief Disables filling geometry. + * @webBrief Disables filling geometry * @usage web_application * @see PGraphics#fill(float, float, float, float) * @see PGraphics#stroke(int, float) @@ -6884,7 +6884,7 @@ public void noFill() { * * * @webref color:setting - * @webBrief Sets the color used to fill shapes. + * @webBrief Sets the color used to fill shapes * @usage web_application * @param rgb color variable or hex value * @see PGraphics#noFill() @@ -6972,7 +6972,7 @@ protected void fillFromCalc() { * * * @webref lights_camera:material_properties - * @webBrief Sets the ambient reflectance for shapes drawn to the screen. + * @webBrief Sets the ambient reflectance for shapes drawn to the screen * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#emissive(float, float, float) @@ -7029,7 +7029,7 @@ protected void ambientFromCalc() { * * @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 highlights. + * screen, which sets the color of highlights * @usage web_application * @param rgb color to set * @see PGraphics#lightSpecular(float, float, float) @@ -7088,7 +7088,7 @@ protected void specularFromCalc() { * * * @webref lights_camera:material_properties - * @webBrief Sets the amount of gloss in the surface of shapes. + * @webBrief Sets the amount of gloss in the surface of shapes * @usage web_application * @param shine degree of shininess * @see PGraphics#emissive(float, float, float) @@ -7109,7 +7109,7 @@ public void shininess(float shine) { * * @webref lights_camera:material_properties * @webBrief Sets the emissive color of the material used for drawing shapes drawn to - * the screen. + * the screen * @usage web_application * @param rgb color to set * @see PGraphics#ambient(float, float, float) @@ -7179,7 +7179,7 @@ protected void emissiveFromCalc() { * * @webref lights_camera:lights * @webBrief Sets the default ambient light, directional light, falloff, and specular - * values. + * values * @usage web_application * @see PGraphics#ambientLight(float, float, float, float, float, float) * @see PGraphics#directionalLight(float, float, float, float, float, float) @@ -7200,7 +7200,7 @@ public void lights() { * * * @webref lights_camera:lights - * @webBrief Disable all lighting. + * @webBrief Disable all lighting * @usage web_application * @see PGraphics#lights() */ @@ -7221,7 +7221,7 @@ public void noLights() { * * * @webref lights_camera:lights - * @webBrief Adds an ambient light. + * @webBrief Adds an ambient light * @usage web_application * @param v1 red or hue value (depending on current color mode) * @param v2 green or saturation value (depending on current color mode) @@ -7262,7 +7262,7 @@ public void ambientLight(float v1, float v2, float v3, * * * @webref lights_camera:lights - * @webBrief Adds a directional light. + * @webBrief Adds a directional light * @usage web_application * @param v1 red or hue value (depending on current color mode) * @param v2 green or saturation value (depending on current color mode) @@ -7291,7 +7291,7 @@ public void directionalLight(float v1, float v2, float v3, * * * @webref lights_camera:lights - * @webBrief Adds a point light. + * @webBrief Adds a point light * @usage web_application * @param v1 red or hue value (depending on current color mode) * @param v2 green or saturation value (depending on current color mode) @@ -7324,7 +7324,7 @@ public void pointLight(float v1, float v2, float v3, * that cone. * * @webref lights_camera:lights - * @webBrief Adds a spot light. + * @webBrief Adds a spot light * @usage web_application * @param v1 red or hue value (depending on current color mode) * @param v2 green or saturation value (depending on current color @@ -7371,7 +7371,7 @@ public void spotLight(float v1, float v2, float v3, * * @webref lights_camera:lights * @webBrief Sets the falloff rates for point lights, spot lights, and ambient - * lights. + * lights * @usage web_application * @param constant constant value or determining falloff * @param linear linear value for determining falloff @@ -7399,7 +7399,7 @@ public void lightFalloff(float constant, float linear, float quadratic) { * * * @webref lights_camera:lights - * @webBrief Sets the specular color for lights. + * @webBrief Sets the specular color for lights * @usage web_application * @param v1 red or hue value (depending on current color mode) * @param v2 green or saturation value (depending on current color mode) @@ -7456,7 +7456,7 @@ public void lightSpecular(float v1, float v2, float v3) { * * * @webref color:setting - * @webBrief Sets the color used for the background of the Processing window. + * @webBrief Sets the color used for the background of the Processing window * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#stroke(float) @@ -7552,7 +7552,7 @@ public void background(float v1, float v2, float v3, float alpha) { * 100% transparent. * * @webref color:setting - * @webBrief Clears the pixels within a buffer. + * @webBrief Clears the pixels within a buffer */ public void clear() { background(0, 0, 0, 0); @@ -7658,7 +7658,7 @@ protected void backgroundImpl() { * * * @webref color:setting - * @webBrief Changes the way Processing interprets color data. + * @webBrief Changes the way Processing interprets color data * @usage web_application * @param mode Either RGB or HSB, corresponding to Red/Green/Blue and * Hue/Saturation/Brightness @@ -7995,7 +7995,7 @@ public final int color(float v1, float v2, float v3, float a) { // ignore * Extracts the alpha value from a color. * * @webref color:creating_reading - * @webBrief Extracts the alpha value from a color. + * @webBrief Extracts the alpha value from a color * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#red(int) @@ -8034,7 +8034,7 @@ public final float alpha(int rgb) { * * @webref color:creating_reading * @webBrief Extracts the red value from a color, scaled to match current - * colorMode(). + * colorMode() * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#green(int) @@ -8074,7 +8074,7 @@ public final float red(int rgb) { * * @webref color:creating_reading * @webBrief Extracts the green value from a color, scaled to match current - * colorMode(). + * colorMode() * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#red(int) @@ -8114,7 +8114,7 @@ public final float green(int rgb) { * * @webref color:creating_reading * @webBrief Extracts the blue value from a color, scaled to match current - * colorMode(). + * colorMode() * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#red(int) @@ -8137,7 +8137,7 @@ public final float blue(int rgb) { * Extracts the hue value from a color. * * @webref color:creating_reading - * @webBrief Extracts the hue value from a color. + * @webBrief Extracts the hue value from a color * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#red(int) @@ -8162,7 +8162,7 @@ public final float hue(int rgb) { * Extracts the saturation value from a color. * * @webref color:creating_reading - * @webBrief Extracts the saturation value from a color. + * @webBrief Extracts the saturation value from a color * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#red(int) @@ -8188,7 +8188,7 @@ public final float saturation(int rgb) { * * * @webref color:creating_reading - * @webBrief Extracts the brightness value from a color. + * @webBrief Extracts the brightness value from a color * @usage web_application * @param rgb any value of the color datatype * @see PGraphics#red(int) @@ -8229,8 +8229,8 @@ public final float brightness(int rgb) { * * * @webref color:creating_reading - * @webBrief Calculates a color or colors between two color at a specific - * increment. + * @webBrief Calculates a color or colors between two colors at a specific + * increment * @usage web_application * @param c1 interpolate from this color * @param c2 interpolate to this color diff --git a/core/src/processing/core/PImage.java b/core/src/processing/core/PImage.java index 05933fd643..487ebd880f 100644 --- a/core/src/processing/core/PImage.java +++ b/core/src/processing/core/PImage.java @@ -54,7 +54,7 @@ * * * @webref image - * @webBrief Datatype for storing images. + * @webBrief Datatype for storing images * @usage Web & Application * @instanceName pimg any object of type PImage * @see PApplet#loadImage(String) @@ -96,7 +96,7 @@ public class PImage implements PConstants, Cloneable { * * * @webref image:pixels - * @webBrief Array containing the color of every pixel in the image. + * @webBrief Array containing the color of every pixel in the image * @usage web_application */ public int[] pixels; @@ -113,7 +113,7 @@ public class PImage implements PConstants, Cloneable { * The width of the image in units of pixels. * * @webref pimage:field - * @webBrief The width of the image in units of pixels. + * @webBrief The width of the image in units of pixels * @usage web_application */ public int width; @@ -123,7 +123,7 @@ public class PImage implements PConstants, Cloneable { * The height of the image in units of pixels. * * @webref pimage:field - * @webBrief The height of the image in units of pixels. + * @webBrief The height of the image in units of pixels * @usage web_application */ public int height; @@ -379,7 +379,7 @@ public int getModifiedY2() { // ignore * copy all data into the pixels[] array * * @webref pimage:pixels - * @webBrief Loads the pixel data for the image into its pixels[] array. + * @webBrief Loads the pixel data for the image into its pixels[] array * @usage web_application */ public void loadPixels() { // ignore @@ -408,7 +408,7 @@ public void updatePixels() { // ignore * future. * * @webref pimage:pixels - * @webBrief Updates the image with the data in its pixels[] array. + * @webBrief Updates the image with the data in its pixels[] array * @usage web_application * @param x x-coordinate of the upper-left corner * @param y y-coordinate of the upper-left corner @@ -474,7 +474,7 @@ public Object clone() throws CloneNotSupportedException { // ignore * method, and call resize() on the PImage that is returned. * * @webref pimage:method - * @webBrief Resize the image to a new width and height. + * @webBrief Resize the image to a new width and height * @usage web_application * @param w the resized image width * @param h the resized image height @@ -551,7 +551,7 @@ public void setLoaded(boolean l) { // ignore * pixels[] array directly. * * @webref image:pixels - * @webBrief Reads the color of any pixel or grabs a rectangle of pixels. + * @webBrief Reads the color of any pixel or grabs a rectangle of pixels * @usage web_application * @param x x-coordinate of the pixel * @param y y-coordinate of the pixel @@ -1582,7 +1582,7 @@ public void copy(PImage src, * * @webref color:creating_reading * @webBrief Blends two color values together based on the blending mode given as the - * MODE parameter. + * MODE parameter * @usage web_application * @param c1 the first color to blend * @param c2 the second color to blend @@ -1674,7 +1674,7 @@ public void blend(int sx, int sy, int sw, int sh, * * * @webref image:pixels - * @webBrief Copies a pixel or rectangle of pixels using different blending modes. + * @webBrief Copies a pixel or rectangle of pixels using different blending modes * @param src an image variable referring to the source image * @param sx X coordinate of the source's upper left corner * @param sy Y coordinate of the source's upper left corner @@ -3289,7 +3289,7 @@ protected boolean saveTGA(OutputStream output) { * file with no error. * * @webref pimage:method - * @webBrief Saves the image to a TIFF, TARGA, PNG, or JPEG file. + * @webBrief Saves the image to a TIFF, TARGA, PNG, or JPEG file * @usage application * @param filename a sequence of letters and numbers */ diff --git a/core/src/processing/core/PShape.java b/core/src/processing/core/PShape.java index f75cafcf46..4c737ec193 100644 --- a/core/src/processing/core/PShape.java +++ b/core/src/processing/core/PShape.java @@ -87,7 +87,7 @@ * * * @webref shape - * @webBrief Datatype for storing shapes. + * @webBrief Datatype for storing shapes * @usage Web & Application * @see PApplet#loadShape(String) * @see PApplet#createShape() @@ -400,7 +400,7 @@ public String getName() { /** * - * Returns a boolean value "true" if the image is set to be visible, "false" if + * Returns a boolean value true if the image is set to be visible, false if * not. This value can be modified with the setVisible() method.