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
| Parameter | Type | Description |
|---|---|---|
pixels | number | Translation offset in grid cells. |
Returns
void