Beispiel #1
0
 /**
  * Render the text using its attributes.
  *
  * @param text the text
  * @param pt the coordinate to render at
  */
 public void drawText(final AttributedString text, final Point2d pt) {
   FontRenderer.renderText(this, text, (int) pt.getX(), (int) pt.getY());
 }
Beispiel #2
0
 /**
  * Render the text using its attributes.
  *
  * @param text the text
  * @param x the x-ordinate
  * @param y the y-ordinate
  */
 public void drawText(final AttributedString text, final int x, final int y) {
   FontRenderer.renderText(this, text, x, y);
 }