Skip to content

textmode.js / media / TextmodeVideo / 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

Inherited from

TextmodeTexture.invert