shapeMode()

Shape / Loading & Displaying

Description

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

Syntax

void shapeMode(int mode)

Parameters

NameTypeDescription
modeintCORNER, CORNERS, or CENTER

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...