jRenderer3D
Class Text3D

java.lang.Object
  extended by jRenderer3D.Text3D

public class Text3D
extends java.lang.Object

This class represents a text element in a 3D coordinate system. It is described by the text string, its position (x, y, z), its color and its size.

Author:
Kai Uwe Barthel

Field Summary
 java.awt.Color color
          the color of the text element
 int size
          the size of the text element
 java.lang.String text
          the text string
 int x
          the x position of the text element
 int y
          the y position of the text element
 int z
          the z position of the text element
 
Constructor Summary
Text3D(java.lang.String text, int x, int y, int z, java.awt.Color color, int size)
          Creates a new Text3D object.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

public java.lang.String text
the text string


x

public int x
the x position of the text element


y

public int y
the y position of the text element


z

public int z
the z position of the text element


color

public java.awt.Color color
the color of the text element


size

public int size
the size of the text element

Constructor Detail

Text3D

public Text3D(java.lang.String text,
              int x,
              int y,
              int z,
              java.awt.Color color,
              int size)
Creates a new Text3D object.

Parameters:
text - - the text string
x - - x position of the text element
y - - y position of the text element
z - - z position of the text element
color - - color of the text element
size - - size the text element