imageMode()

Image / Loading & Displaying

Description

Modifies the location from which images are drawn. Default is CORNER.

Syntax

void imageMode(int mode)

Parameters

NameTypeDescription
modeintCORNER, CORNERS, or CENTER

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...