Name
ContrastBrush -- enhance or reduce brush contrast (V5.0)
Synopsis
ContrastBrush(id, inc[, repeat])
Function
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.

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

Show TOC