textmode.js / Textmodifier / vertex
Method: vertex()
ts
vertex(
x,
y,
z?): void;Add a vertex to the active custom shape. The current transform, character, color, and line state are captured for this vertex.
Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | X coordinate in local grid cells. |
y | number | Y coordinate in local grid cells. |
z? | number | Z coordinate in local grid cells. Defaults to 0. |
Returns
void