/** Set ARGB control point values to specified index */ public void setARGBControlPoint(int index, Color value) { alpha.setControlPoint(index, (short) value.getAlpha()); red.setControlPoint(index, (short) value.getRed()); green.setControlPoint(index, (short) value.getGreen()); blue.setControlPoint(index, (short) value.getBlue()); gray.setControlPoint(index, (short) ColorUtil.getGrayMix(value)); }
/** Set a alpha control point to specified index and value */ public void setAlphaControlPoint(int index, int value) { alpha.setControlPoint(index, value); }
/** Set a gray control point to specified index and value */ public void setGrayControlPoint(int index, int value) { gray.setControlPoint(index, value); }
/** Set a blue control point to specified index and value */ public void setBlueControlPoint(int index, int value) { blue.setControlPoint(index, value); }
/** Set a green control point to specified index and value */ public void setGreenControlPoint(int index, int value) { green.setControlPoint(index, value); }
/** Set a red control point to specified index and value */ public void setRedControlPoint(int index, int value) { // set control point red.setControlPoint(index, value); }