set_brightness


Description:

public void set_brightness (float brightness)

The range of brightness is [-1.0, 1.0], where 0.0 designates no change; a value below 0.0 indicates a decrease in brightness; and a value above 0.0 indicates an increase of brightness.

Parameters:

this

a BrightnessContrastEffect

brightness

the brightness change for all three components (r, g, b)