mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Clarification for image() reference based on Issue #500
This commit is contained in:
@@ -3754,8 +3754,8 @@ public class PGraphics extends PImage implements PConstants {
|
||||
*
|
||||
* @webref image:loading_displaying
|
||||
* @param img the image to display
|
||||
* @param a x-coordinate of the image
|
||||
* @param b y-coordinate of the image
|
||||
* @param a x-coordinate of the image by default
|
||||
* @param b y-coordinate of the image by default
|
||||
* @see PApplet#loadImage(String, String)
|
||||
* @see PImage
|
||||
* @see PGraphics#imageMode(int)
|
||||
@@ -3783,8 +3783,8 @@ public class PGraphics extends PImage implements PConstants {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param c width to display the image
|
||||
* @param d height to display the image
|
||||
* @param c width to display the image by default
|
||||
* @param d height to display the image by default
|
||||
*/
|
||||
public void image(PImage img, float a, float b, float c, float d) {
|
||||
image(img, a, b, c, d, 0, 0, img.width, img.height);
|
||||
|
||||
Reference in New Issue
Block a user