Skip to content

Commit a279738

Browse files
committed
Changes for pixel reference for density
1 parent 62d3e65 commit a279738

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

core/src/processing/core/PApplet.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ public class PApplet implements PConstants {
281281
* @see PApplet#get(int, int, int, int)
282282
* @see PApplet#set(int, int, int)
283283
* @see PImage
284+
* @see PApplet#pixelDensity()
285+
* @see PApplet#pixelWidth
286+
* @see PApplet#pixelHeight
284287
*/
285288
public int[] pixels;
286289

@@ -1210,7 +1213,8 @@ public int displayDensity(int display) {
12101213
/**
12111214
* @webref environment
12121215
* @param density 1 or 2
1213-
*
1216+
* @see PApplet#pixelWidth
1217+
* @see PApplet#pixelHeight
12141218
*/
12151219
public void pixelDensity(int density) {
12161220
//println(density + " " + this.pixelDensity);

core/src/processing/core/PImage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class PImage implements PConstants, Cloneable {
9090
*
9191
* @webref image:pixels
9292
* @usage web_application
93-
* @brief Array containing the color of every pixel in the image
93+
* @brief Array containing the color of every pixel in the image
9494
*/
9595
public int[] pixels;
9696

0 commit comments

Comments
 (0)