rectMode()
Shape / AttributesDescription
Modifies the location from which rectangles are drawn. Default is CORNER.
Syntax
void rectMode(int mode)
Parameters
| Name | Type | Description |
|---|---|---|
| mode | int | CORNER, CORNERS, CENTER, or RADIUS |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...