Skip to content

textmode.js / Textmodifier / translateY

Method: translateY() ​

Call Signature ​

ts
translateY(): number;

Current accumulated Y-axis translation.

Returns ​

number

Current Y-axis translation in grid cells.

Example ​

Call Signature ​

ts
translateY(pixels): void;

Translate subsequent shapes along the Y axis.

Parameters ​

ParameterTypeDescription
pixelsnumberTranslation offset in grid cells.

Returns ​

void

Example ​