public class AxeBox2d.RotatedTextBitmapRenderer extends TextBitmapRenderer
font, fontHeight, glutdefSceneOffset, defScreenOffset| Constructor and Description |
|---|
RotatedTextBitmapRenderer() |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox3d |
drawText(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam,
String text,
Coord3d position,
Halign halign,
Valign valign,
Color color,
Coord2d screenOffset,
Coord3d sceneOffset)
Draw a string at the specified position and compute the 3d volume
occupied by the string according to the current Camera configuration.
|
void |
loadIdentity(com.jogamp.opengl.GL gl) |
void |
rotateOf(com.jogamp.opengl.GL gl,
double angle,
int axis) |
void |
rotateText(com.jogamp.opengl.GL gl,
Coord3d posReal) |
void |
translateTo(com.jogamp.opengl.GL gl,
Coord3d position,
boolean reverse) |
color, computeTextBounds, computeXWithAlign, computeYWithAlign, drawSimpleText, glRasterPosdrawText, drawText, drawTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawText, drawText, drawTextpublic BoundingBox3d drawText(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam, String text, Coord3d position, Halign halign, Valign valign, Color color, Coord2d screenOffset, Coord3d sceneOffset)
TextBitmapRendererdrawText in interface ITextRendererdrawText in class TextBitmapRendererpublic void rotateText(com.jogamp.opengl.GL gl,
Coord3d posReal)
public void loadIdentity(com.jogamp.opengl.GL gl)
public void rotateOf(com.jogamp.opengl.GL gl,
double angle,
int axis)
public void translateTo(com.jogamp.opengl.GL gl,
Coord3d position,
boolean reverse)
Copyright © 2016. All rights reserved.