Object function reference

invert

A reference entry for invert

Object function · Colour

invert() ⇒ Colour

Inverts each RGB channel of the Colour object in place, producing a photographic negative effect. The method preserves alpha and returns the Colour object.

Availability: ZPE 1.14.11.