beginContour()

Shape / Vertex

Description

Use beginContour() and endContour() to cut out areas within a shape (like holes).

Syntax

void beginContour()

Parameters

None

Returns

void

Related

Under the Hood

From Processing.h:

void beginContour();

Under the Hood

From Processing.cpp:

void PApplet::beginContour(){inContour=true;contourVerts.clear();}