int fy = (int) Math.floor(y); int alpha0 = alpha(pixel(fx, fy)); int alpha1 = alpha(pixel(fx + 1, fy)); int alpha2 = alpha(pixel(fx, fy + 1)); int alpha3 = alpha(pixel(fx + 1, fy + 1)); int red0 = red(pixel(fx, fy)); int red1 = red(pixel(fx + 1, fy)); int red2 = red(pixel(fx, fy + 1)); int red3 = red(pixel(fx + 1, fy + 1)); int green0 = green(pixel(fx, fy)); int green1 = green(pixel(fx + 1, fy)); int green2 = green(pixel(fx, fy + 1)); int green3 = green(pixel(fx + 1, fy + 1)); int blue0 = blue(pixel(fx, fy)); int blue1 = blue(pixel(fx + 1, fy)); int blue2 = blue(pixel(fx, fy + 1)); int blue3 = blue(pixel(fx + 1, fy + 1));