textmode.js / media / TextmodeSource / invert
Method: invert()
ts
invert(v?): this;Enable or disable source color inversion.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
v | number | boolean | true | Whether to invert colors. |
Returns
this
This instance for chaining.