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