Package com.sun.opengl.util.j2d

Examples of com.sun.opengl.util.j2d.TextRenderer.draw()


    endPrimitives();
    TextRenderer textRenderer = resourceManager.getTextRenderer(font);
    textRenderer.begin3DRendering();
    applyColor();
    setTextTransformation();
    textRenderer.draw(text, 0, 0);
    textRenderer.end3DRendering();
    setTransform();
  }
  public void getTextBounds(String text, Rectangle2D bounds) {
    if (text == null) throw new IllegalArgumentException("text must not be null");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.