gfx.InvertColor

Invert black and white pixels when drawing images.

Syntax

gfx.InvertColor(enabled)

Parameters

  • enabled - Passing true enables color inversion; false disables it.

Returns

This command returns no values.

About

gfx.InvertColor changes all black pixels to white, and vice versa. This is useful as a cool effect or reusing graphics.