beginShape()
Shape / VertexDescription
Using beginShape() and endShape() allows creating complex forms. Optionally pass a shape kind.
Syntax
void beginShape()
void beginShape(int kind)
Parameters
| Name | Type | Description |
|---|---|---|
| kind | int | POINTS, LINES, TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP, QUADS, QUAD_STRIP (optional) |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...