public class JOGLTextRenderer extends AbstractTextRenderer implements ITextRenderer
Modifier and Type | Field and Description |
---|---|
protected Font |
font |
protected boolean |
LAYOUT |
protected com.jogamp.opengl.util.awt.TextRenderer |
renderer |
protected com.jogamp.opengl.util.awt.TextRenderer.RenderDelegate |
style |
defSceneOffset, defScreenOffset
Constructor and Description |
---|
JOGLTextRenderer() |
JOGLTextRenderer(ITextStyle style) |
Modifier and Type | Method and Description |
---|---|
void |
drawSimpleText(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam,
String s,
Coord3d position,
Color color) |
BoundingBox3d |
drawText(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam,
String s,
Coord3d position,
Halign halign,
Valign valign,
Color color,
Coord2d screenOffset,
Coord3d sceneOffset) |
drawText, drawText, drawText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
drawText, drawText, drawText
protected boolean LAYOUT
protected Font font
protected com.jogamp.opengl.util.awt.TextRenderer.RenderDelegate style
protected com.jogamp.opengl.util.awt.TextRenderer renderer
public JOGLTextRenderer()
public JOGLTextRenderer(ITextStyle style)
public void drawSimpleText(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam, String s, Coord3d position, Color color)
drawSimpleText
in interface ITextRenderer
Copyright © 2016. All rights reserved.