Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Color.Invert (gb.image)

Static Function Invert ( Color As Integer [ , KeepHue As Boolean ] ) As Integer

Since 3.16

Invert a color and return it.

If KeepHue is TRUE, then the color hue is kept. Only its saturation and its value are inverted. This feature is used for adapting colors to dark theme.