Package com.jogamp.opengl.util.awt

Examples of com.jogamp.opengl.util.awt.TextRenderer.draw3D()


        TextRenderer textRenderer = OGLTextRenderer.getOrCreateTextRenderer(dc.getTextRendererCache(), font);
        try
        {
            textRenderer.begin3DRendering();
            textRenderer.setColor(backgroundColor);
            textRenderer.draw3D(this.labelText, x + 1, y - 1, 0, 1);
            textRenderer.setColor(color);
            textRenderer.draw3D(this.labelText, x, y, 0, 1);
        }
        finally
        {
View Full Code Here


        {
            textRenderer.begin3DRendering();
            textRenderer.setColor(backgroundColor);
            textRenderer.draw3D(this.labelText, x + 1, y - 1, 0, 1);
            textRenderer.setColor(color);
            textRenderer.draw3D(this.labelText, x, y, 0, 1);
        }
        finally
        {
            textRenderer.end3DRendering();
        }
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.