org.jzy3d.plot3d.text
Class TextBitmap
java.lang.Object
org.jzy3d.plot3d.text.TextBitmap
public class TextBitmap
- extends java.lang.Object
Constructor Summary |
TextBitmap()
The TextBitmap class provides support for drawing ASCII characters
Any non ascii caracter will be replaced by a square. |
Method Summary |
void |
drawSimpleText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Color color)
|
BoundingBox3d |
drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Halign halign,
Valign valign,
Color color)
|
BoundingBox3d |
drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Halign halign,
Valign valign,
Color color,
Coord2d screenOffset)
|
BoundingBox3d |
drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
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. |
BoundingBox3d |
drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Halign halign,
Valign valign,
Color color,
Coord3d sceneOffset)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextBitmap
public TextBitmap()
- The TextBitmap class provides support for drawing ASCII characters
Any non ascii caracter will be replaced by a square.
drawText
public BoundingBox3d drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Halign halign,
Valign valign,
Color color)
drawText
public BoundingBox3d drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Halign halign,
Valign valign,
Color color,
Coord2d screenOffset)
drawText
public BoundingBox3d drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Halign halign,
Valign valign,
Color color,
Coord3d sceneOffset)
drawText
public BoundingBox3d drawText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
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.
drawSimpleText
public void drawSimpleText(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam,
java.lang.String s,
Coord3d position,
Color color)