ContrastBrush -- enhance or reduce brush contrast (V5.0)
ContrastBrush(id, inc[, repeat])
This command can be used to enhance or reduce the color contrast in the specified brush. If the inc argument is set to True, the contrast is enhanced. If it is set to False, the contrast is reduced. The optional argument repeat can be used to apply the effect to the brush multiple times. This is useful if you want to create sharper contrasts.

Note that if id specifies a palette brush, ContrastBrush() will just apply the contrast to the palette colors which makes this function really fast when used with palette brushes.

brush to modify
True to increase contrast, False to decrease contrast
optional: specifies how many times the contrast operation should be repeated (defaults to 1 which means run the effect just once)

Show TOC