createShape()
ShapeDescription
Creates a new PShape object. Optionally pass a kind constant.
Syntax
PShape createShape()
PShape createShape(int kind)
Parameters
| Name | Type | Description |
|---|---|---|
| kind | int | shape kind (optional): POINTS, LINES, TRIANGLES, etc. |
Returns
PShapeRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...