textmode.js / Textmodifier / charRotation
Method: charRotation()
ts
charRotation(degrees?): number | void;Set the character rotation for subsequent drawing, or get the current angle.
Parameters
| Parameter | Type | Description |
|---|---|---|
degrees? | number | Rotation angle in degrees. |
Returns
number | void
Current rotation angle in degrees when called without arguments.