コード例 #1
0
 /**
  * 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);
 }
コード例 #2
0
 /**
  * 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());
 }