/** * Render the text with the given {@link FontStyle}. * * @param text the text * @param pt the coordinate to render at * @param f the font style */ public void drawText(final String text, final Point2d pt, final FontStyle<Q> f) { f.getRenderer(this).renderText(this, text, (int) pt.getX(), (int) pt.getY(), f); }
/** * Render the text with the given {@link FontStyle}. * * @param text the text * @param x the x-ordinate * @param y the y-ordinate * @param f the font style */ public void drawText(final String text, final int x, final int y, final FontStyle<Q> f) { f.getRenderer(this).renderText(this, text, x, y, f); }