|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmeText
This is the interface for some peace of text in JME. The implementation, and
hence the rendering of the text depends on the kind of text (3D, 2D, etc.).
It is good practice to create an implementation of TextFactory
and then
have that create instances of JmeText
.
Method Summary | |
---|---|
void |
appendText(java.lang.String text)
Append text to the string of text that this object is visualizing. |
TextFactory |
getFactory()
|
int |
getFlags()
|
float |
getSize()
|
java.lang.StringBuffer |
getText()
|
void |
setLocalRotation(Matrix3f rotation)
|
void |
setLocalRotation(Quaternion quaternion)
|
void |
setLocalScale(float localScale)
|
void |
setLocalScale(Vector3f trans)
|
void |
setLocalTranslation(Vector3f trans)
|
void |
setSize(float size)
change the size of the font, this will most likely be implemented with scaling, so watch out when using this and setLocalScale(...). |
void |
setText(java.lang.String text)
Sets the string of text that this object is visualizing, the geometry of the object should change to reflect the change. |
Method Detail |
---|
TextFactory getFactory()
java.lang.StringBuffer getText()
void setText(java.lang.String text)
text
- void appendText(java.lang.String text)
text
- int getFlags()
float getSize()
void setSize(float size)
size
- void setLocalRotation(Matrix3f rotation)
void setLocalRotation(Quaternion quaternion)
void setLocalScale(float localScale)
void setLocalScale(Vector3f trans)
void setLocalTranslation(Vector3f trans)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |