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