(Color c)
| 989 | } |
| 990 | |
| 991 | public static void setBackgroundColor(Color c) { |
| 992 | if (c!=null) { |
| 993 | backgroundColor = c; |
| 994 | backgroundValue = Double.NaN; |
| 995 | repaintTool(DROPPER); |
| 996 | ColorPicker.update(); |
| 997 | IJ.notifyEventListeners(IJEventListener.BACKGROUND_COLOR_CHANGED); |
| 998 | } |
| 999 | } |
| 1000 | |
| 1001 | public static double getForegroundValue() { |
| 1002 | return foregroundValue; |
no test coverage detected