textmode.js / Textmodifier / rotateY
Method: rotateY()
ts
rotateY(degrees?): number | void;Set Y-axis rotation for subsequent shape drawing, or get the current angle.
All geometries rotate around the center of the shape.
Parameters
| Parameter | Type | Description |
|---|---|---|
degrees? | number | Rotation angle in degrees around the Y axis. |
Returns
number | void
Current Y-axis rotation in degrees when called without arguments.