updated @see tags in PImage. Updated a few in PApplet.

This commit is contained in:
sansumbrella
2009-12-30 21:13:35 +00:00
parent 0337f39501
commit fab6677554
2 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -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) {
+7 -7
View File
@@ -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;