curveVertex()

Shape / Vertex

Description

Specifies vertex coordinates for curves inside beginShape()/endShape(). At least 4 points required.

Syntax

void curveVertex(float x, float y)

Parameters

NameTypeDescription
xfloatx-coordinate of the vertex
yfloaty-coordinate of the vertex

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...