Skip to content

textmode.js / Textmodifier / endShape

Method: endShape() ​

ts
endShape(close?): void;

Finish the active custom shape and enqueue its geometry.

Parameters ​

ParameterTypeDescription
close?"close"Pass 'close' to connect the final vertex back to the first for line-strip shapes.

Returns ​

void

Example ​