strokeCap()

Shape / Attributes

Description

Sets the style for rendering line endings. Options: ROUND, SQUARE, PROJECT.

Syntax

void strokeCap(int cap)

Parameters

NameTypeDescription
capintROUND, SQUARE, or PROJECT

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...