set_factor


Description:

public void set_factor (double factor)

Sets the desaturation factor for this, with 0.0 being "do not desaturate" and 1.0 being "fully desaturate"

Parameters:

this

a DesaturateEffect

factor

the desaturation factor, between 0.0 and 1.0