(String attribute, int wide, int high)
| 202 | |
| 203 | |
| 204 | static public Image makeGradient(String attribute, int wide, int high) { |
| 205 | if ("lab".equals(Preferences.get("theme.gradient.method"))) { |
| 206 | return makeGradientLab(attribute, wide, high); |
| 207 | } else { // otherwise go with the default |
| 208 | return makeGradientRGB(attribute, wide, high); |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | |
| 213 | static private Image makeGradientRGB(String attribute, int wide, int high) { |
no test coverage detected