| 7781 | |
| 7782 | |
| 7783 | public final int color(int c) { // ignore |
| 7784 | // if (((c & 0xff000000) == 0) && (c <= colorModeX)) { |
| 7785 | // if (colorModeDefault) { |
| 7786 | // // bounds checking to make sure the numbers aren't too high or low |
| 7787 | // if (c > 255) c = 255; else if (c < 0) c = 0; |
| 7788 | // return 0xff000000 | (c << 16) | (c << 8) | c; |
| 7789 | // } else { |
| 7790 | // colorCalc(c); |
| 7791 | // } |
| 7792 | // } else { |
| 7793 | // colorCalcARGB(c, colorModeA); |
| 7794 | // } |
| 7795 | colorCalc(c); |
| 7796 | return calcColor; |
| 7797 | } |
| 7798 | |
| 7799 | |
| 7800 | public final int color(float gray) { // ignore |