Skip to content

textmode.js / Textmodifier / translateZ

Method: translateZ()

Call Signature

ts
translateZ(): number;

Current accumulated Z-axis translation.

Returns

number

Current Z-axis translation in grid cells.

Example

Call Signature

ts
translateZ(pixels): void;

Translate subsequent shapes along the Z axis.

Parameters

ParameterTypeDescription
pixelsnumberTranslation offset in grid cells.

Returns

void

Example