mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
updated @see tags in PImage. Updated a few in PApplet.
This commit is contained in:
@@ -35,6 +35,7 @@ import java.util.*;
|
||||
import java.util.regex.*;
|
||||
import java.util.zip.*;
|
||||
|
||||
import javax.annotation.processing.ProcessingEnvironment;
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.JFileChooser;
|
||||
import javax.swing.SwingUtilities;
|
||||
@@ -6584,7 +6585,7 @@ public class PApplet extends Applet
|
||||
* @param z blue or brightness values relative to the current color range
|
||||
* @param a alpha relative to current color range
|
||||
*
|
||||
* @see PApplet#colorMode(int)
|
||||
* @see processing.core.PApplet#colorMode(int)
|
||||
* @ref color_datatype
|
||||
*/
|
||||
public final int color(float x, float y, float z, float a) {
|
||||
|
||||
@@ -433,7 +433,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
* @param wide the resized image width
|
||||
* @param high the resized image height
|
||||
*
|
||||
* @see PImage#get(int, int, int, int)
|
||||
* @see processing.core.PImage#get(int, int, int, int)
|
||||
*/
|
||||
public void resize(int wide, int high) { // ignore
|
||||
// Make sure that the pixels[] array is valid
|
||||
@@ -516,9 +516,9 @@ public class PImage implements PConstants, Cloneable {
|
||||
* @param w width of pixel rectangle to get
|
||||
* @param h height of pixel rectangle to get
|
||||
*
|
||||
* @see PImage#set(int, int, int)
|
||||
* @see PImage#pixels
|
||||
* @see PImage#copy(PImage, int, int, int, int, int, int, int, int)
|
||||
* @see processing.core.PImage#set(int, int, int)
|
||||
* @see processing.core.PImage#pixels
|
||||
* @see processing.core.PImage#copy(PImage, int, int, int, int, int, int, int, int)
|
||||
*/
|
||||
public PImage get(int x, int y, int w, int h) {
|
||||
/*
|
||||
@@ -595,9 +595,9 @@ public class PImage implements PConstants, Cloneable {
|
||||
* @param y y-coordinate of the pixel or upper-left corner of the image
|
||||
* @param c any value of the color datatype
|
||||
*
|
||||
* @see PImage#get(int, int, int, int)
|
||||
* @see PImage#pixels
|
||||
* @see PImage#copy(PImage, int, int, int, int, int, int, int, int)
|
||||
* @see processing.core.PImage#get(int, int, int, int)
|
||||
* @see processing.core.PImage#pixels
|
||||
* @see processing.core.PImage#copy(PImage, int, int, int, int, int, int, int, int)
|
||||
*/
|
||||
public void set(int x, int y, int c) {
|
||||
if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) return;
|
||||
|
||||
Reference in New Issue
Block a user