Skip to content

textmode.js / Textmodifier / scale

Method: scale()

ts
scale(
   x, 
   y?, 
   z?): void;

Scale subsequent geometry in model space.

Parameters

ParameterTypeDescription
xnumberScale factor for X.
y?numberScale factor for Y. Defaults to x.
z?numberScale factor for Z. Defaults to x for uniform scale, or 1 when only x and y are provided.

Returns

void

Example