imageMode()
Image / Loading & DisplayingDescription
Modifies the location from which images are drawn. Default is CORNER.
Syntax
void imageMode(int mode)
Parameters
| Name | Type | Description |
|---|---|---|
| mode | int | CORNER, CORNERS, or CENTER |
Returns
voidRelated
Under the Hood
From Processing.h:
void imageMode(int mode);
int rectMode, ellipseMode, imageMode;
Under the Hood
From Processing.cpp:
void PApplet::imageMode(int m){currentImageMode=m;}