Name
InvertBrush -- invert colors of a brush (V1.5)
Synopsis
InvertBrush(id)
Function
This function inverts the brush specified by 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.

Inputs
id
brush to invert
Example
InvertBrush(1)
The code above inverts the colors of brush 1.

Show TOC