Skip to content

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 ​

ParameterTypeDescription
xnumberX coordinate in local grid cells.
ynumberY coordinate in local grid cells.
z?numberZ coordinate in local grid cells. Defaults to 0.

Returns ​

void

Example ​