/** * Sets character at AsciiPoint position of the image * * @param p AsciiPoint position * @param c new character */ public void setPixel(AsciiPoint p, char c) throws IndexOutOfBoundsException { setPixel(p.getX(), p.getY(), c); }
/** * Returns character at AsciiPoint position of the image * * @param p AsciiPoint position * @return character at position */ public char getPixel(AsciiPoint p) throws IndexOutOfBoundsException { return getPixel(p.getX(), p.getY()); }