strokeCap()
Shape / AttributesDescription
Sets the style for rendering line endings. Options: ROUND, SQUARE, PROJECT.
Syntax
void strokeCap(int cap)
Parameters
| Name | Type | Description |
|---|---|---|
| cap | int | ROUND, SQUARE, or PROJECT |
Returns
voidRelated
Under the Hood
From Processing.h:
void strokeCap(int cap);
Under the Hood
From Processing.cpp:
void PApplet::strokeCap(int) {}