InvertBrush(id)
id, which means
that all colors are replaced with their complements (white
will become black, blue will become yellow etc.).
Note that if id specifies a palette brush, InvertBrush() will
just invert the palette colors which makes this function
really fast when used with palette brushes.
Note that when using Miniwood, this function requires filters library.
InvertBrush(1)The code above inverts the colors of brush 1.