diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index b834e4e1f..fa6533197 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -14903,8 +14903,8 @@ public class PApplet implements PConstants { * y parameters define the coordinates for the upper-left corner of * the image, regardless of the current imageMode().
*
- * If the pixel requested is outside of the image window, black is - * returned. The numbers returned are scaled according to the current color + * If the pixel requested is outside the image window, black is returned. + * The numbers returned are scaled according to the current color * ranges, but only RGB values are returned by this function. For example, * even though you may have drawn a shape with colorMode(HSB), the * numbers returned will be in RGB format.
@@ -14914,9 +14914,8 @@ public class PApplet implements PConstants { * equivalent statement to get(x, y) using pixels[] is * pixels[y*width+x]. See the reference for pixels[] for more information. * - * *

Advanced

- * Returns an ARGB "color" type (a packed 32 bit int with the color. + * Returns an ARGB "color" type (a packed 32-bit int) with the color. * If the coordinate is outside the image, zero is returned * (black, but completely transparent). *

@@ -14988,7 +14987,6 @@ public class PApplet implements PConstants { * is pixels[y*width+x] = #000000. See the reference for * pixels[] for more information. * - * * @webref image:pixels * @webBrief Writes a color to any pixel or writes an image into another * @usage web_application @@ -15032,7 +15030,6 @@ public class PApplet implements PConstants { * same length as the target image's pixels array and should contain only * grayscale data of values between 0-255. * - * *

Advanced

* * Set alpha channel for an image. Black colors in the source @@ -15065,14 +15062,13 @@ public class PApplet implements PConstants { /** - * * Filters the image as defined by one of the following modes:
*
* THRESHOLD
- * Converts the image to black and white pixels depending if they are above or - * below the threshold defined by the level parameter. The parameter must be - * between 0.0 (black) and 1.0 (white). If no level is specified, 0.5 is - * used.
+ * Converts the image to black and white pixels depending on if they + * are above or below the threshold defined by the level parameter. + * The parameter must be between 0.0 (black) and 1.0 (white). + * If no level is specified, 0.5 is used.
*
* GRAY
* Converts any colors in the image to grayscale equivalents. No parameter is @@ -15100,7 +15096,6 @@ public class PApplet implements PConstants { * DILATE
* Increases the light areas. No parameter is used. * - * *

Advanced

Method to apply a variety of basic filters to this image. *

*