コード例 #1
0
ファイル: ImageRenderer.java プロジェクト: MAQ11/openimaj
 /**
  * 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());
 }
コード例 #2
0
ファイル: ImageRenderer.java プロジェクト: MAQ11/openimaj
 /**
  * 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);
 }