Skip to content

Commit e83ae20

Browse files
committed
Small parameter changes for Reference
1 parent 67c6b7c commit e83ae20

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

core/src/processing/core/PApplet.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5258,7 +5258,6 @@ public void noiseDetail(int lod) {
52585258

52595259
/**
52605260
* @see #noiseDetail(int)
5261-
* @param lod number of octaves to be used by the noise
52625261
* @param falloff falloff factor for each octave
52635262
*/
52645263
public void noiseDetail(int lod, float falloff) {
@@ -5994,7 +5993,9 @@ public JSONObject loadJSONObject(String filename) {
59945993
return new JSONObject(createReader(filename));
59955994
}
59965995

5997-
5996+
/**
5997+
* @nowebref
5998+
*/
59985999
static public JSONObject loadJSONObject(File file) {
59996000
return new JSONObject(createReader(file));
60006001
}

core/src/processing/core/PImage.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3328,15 +3328,13 @@ private IIOMetadata imageioDPI(ImageWriter writer, ImageWriteParam param, double
33283328
/**
33293329
* ( begin auto-generated from PImage_save.xml )
33303330
*
3331-
* Saves the image into a file. Images are saved in TIFF, TARGA, JPEG, and
3332-
* PNG format depending on the extension within the <b>filename</b>
3333-
* parameter. For example, "image.tif" will have a TIFF image and
3334-
* "image.png" will save a PNG image. If no extension is included in the
3335-
* filename, the image will save in TIFF format and <b>.tif</b> will be
3336-
* added to the name. These files are saved to the sketch's folder, which
3331+
* Saves the image into a file. Append a file extension to the name of
3332+
* the file, to indicate the file format to be used: either TIFF (.tif),
3333+
* TARGA (.tga), JPEG (.jpg), or PNG (.png). If no extension is included
3334+
* in the filename, the image will save in TIFF format and .tif will be
3335+
* added to the name. These files are saved to the sketch's folder, which
33373336
* may be opened by selecting "Show sketch folder" from the "Sketch" menu.
3338-
* It is not possible to use <b>save()</b> while running the program in a
3339-
* web browser.<br /><br />To save an image created within the code, rather
3337+
* <br /><br />To save an image created within the code, rather
33403338
* than through loading, it's necessary to make the image with the
33413339
* <b>createImage()</b> function so it is aware of the location of the
33423340
* program and can therefore save the file to the right place. See the

0 commit comments

Comments
 (0)