Skip to content

textmode.js / media / TextmodeSource / invert

Method: invert() ​

ts
invert(v?): this;

Enable or disable source color inversion.

Parameters ​

ParameterTypeDefault valueDescription
vnumber | booleantrueWhether to invert colors.

Returns ​

this

This instance for chaining.

Example ​