/** * Returns the red value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the red value at position (x,y), or 0 if not in the image * @see #setRedAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getRedAt(int x, int y) { return getColorAt(x, y, OFFSET_RED); }
/** * Returns the alpha value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the alpha value at position (x,y), or 0 if not in the image * @see #setAlphaAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getAlphaAt(int x, int y) { return getColorAt(x, y, OFFSET_ALPHA); }
/** * Returns the blue value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the blue value at position (x,y), or 0 if not in the image * @see #setBlueAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getBlueAt(int x, int y) { return getColorAt(x, y, OFFSET_BLUE); }
/** * Returns the green value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the green value at position (x,y), or 0 if not in the image * @see #setGreenAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getGreenAt(int x, int y) { return getColorAt(x, y, OFFSET_GREEN); }
/** * Returns the red value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the red value at position (x,y), or 0 if not in the image * @see #setRedAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getRedAt(int x, int y) { return getColorAt(x, y, OFFSET_RED); }
/** * Returns the red value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the red value at position (x,y), or 0 if not in the image * @see #setRedAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getRedAt(int x, int y) { return getColorAt(x, y, OFFSET_RED); }
/** * Returns the green value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the green value at position (x,y), or 0 if not in the image * @see #setGreenAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getGreenAt(int x, int y) { return getColorAt(x, y, OFFSET_GREEN); }
/** * Returns the alpha value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the alpha value at position (x,y), or 0 if not in the image * @see #setAlphaAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getAlphaAt(int x, int y) { return getColorAt(x, y, OFFSET_ALPHA); }
/** * Returns the blue value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the blue value at position (x,y), or 0 if not in the image * @see #setBlueAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getBlueAt(int x, int y) { return getColorAt(x, y, OFFSET_BLUE); }
/** * Returns the green value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the green value at position (x,y), or 0 if not in the image * @see #setGreenAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getGreenAt(int x, int y) { return getColorAt(x, y, OFFSET_GREEN); }
/** * Returns the alpha value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the alpha value at position (x,y), or 0 if not in the image * @see #setAlphaAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getAlphaAt(int x, int y) { return getColorAt(x, y, OFFSET_ALPHA); }
/** * Returns the blue value at position (x,y). * * @param x the x coordinate * @param y the y coordinate * @return the blue value at position (x,y), or 0 if not in the image * @see #setBlueAt(int, int, int) * @see #getColorAt(int, int, int) */ public final int getBlueAt(int x, int y) { return getColorAt(x, y, OFFSET_BLUE); }