textmode.js / Textmodifier / beginShape
Method: beginShape()
ts
beginShape(mode?): void;Start recording vertices for a custom 2D or 3D shape. Call vertex one or more times, then call endShape to draw the recorded shape.
Parameters
| Parameter | Type | Description |
|---|---|---|
mode? | ShapeAssemblyMode | Shape assembly mode. Defaults to ShapeAssemblyMode.LINE_STRIP. |
Returns
void