curveDetail()

Shape / Curves

Description

Sets the resolution at which curves display. Default is 20.

Syntax

void curveDetail(int d)

Parameters

NameTypeDescription
dintresolution of the curve

Returns

void

Related

Under the Hood

From Processing.h:

void curveDetail(int d);

Under the Hood

From Processing.cpp:

void PApplet::curveDetail(int d) {curveDetailVal=d;}