/** * Changes this color palette to have the saturation component be variable with a default resolution of {@value #DEFAULT_RESOLUTION} and given the new constant values for the hue and brightness components. * @param hueConstant the new constant value for the hue component. * @param brightnessConstant the new constant value for the brightness component. */ public void setSaturationBased(double hueConstant, double brightnessConstant) { setSaturationBased(DEFAULT_RESOLUTION, hueConstant, brightnessConstant); }
/** * Changes this color palette to have the saturation component be variable with a default resolution of {@value #DEFAULT_RESOLUTION} and given the new constant values for the hue and brightness components. * @param hueConstant the new constant value for the hue component. * @param brightnessConstant the new constant value for the brightness component. */ public void setSaturationBased(double hueConstant, double brightnessConstant) { setSaturationBased(DEFAULT_RESOLUTION, hueConstant, brightnessConstant); }