endShape()

Shape / Vertex

Description

The companion to beginShape(). Pass CLOSE to close the shape.

Syntax

void endShape() void endShape(int mode)

Parameters

NameTypeDescription
modeintCLOSE to close the shape (optional)

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...