| 7792 | |
| 7793 | |
| 7794 | public final int color(int c) { // ignore |
| 7795 | // if (((c & 0xff000000) == 0) && (c <= colorModeX)) { |
| 7796 | // if (colorModeDefault) { |
| 7797 | // // bounds checking to make sure the numbers aren't to high or low |
| 7798 | // if (c > 255) c = 255; else if (c < 0) c = 0; |
| 7799 | // return 0xff000000 | (c << 16) | (c << 8) | c; |
| 7800 | // } else { |
| 7801 | // colorCalc(c); |
| 7802 | // } |
| 7803 | // } else { |
| 7804 | // colorCalcARGB(c, colorModeA); |
| 7805 | // } |
| 7806 | colorCalc(c); |
| 7807 | return calcColor; |
| 7808 | } |
| 7809 | |
| 7810 | |
| 7811 | public final int color(float gray) { // ignore |