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