public class Text2 extends SceneObject implements IRenderable
Constructor and Description |
---|
Text2(java.lang.String text,
int rotation,
Color color,
Font font) |
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
int |
getRotation() |
java.lang.String |
getText() |
void |
render(float[] vpMatrix)
Renders this object the matrix containing projection and view will be passed
|
void |
setColor(Color color) |
void |
setRotation(int rotation) |
void |
setText(java.lang.String text) |
attachTo, detach, getAbsolutePos, getModelMatrix, getParent, getRelativePos, onTransformed
public void render(float[] vpMatrix)
IRenderable
render
in interface IRenderable
public Color getColor()
public void setColor(Color color)
public java.lang.String getText()
public void setText(java.lang.String text)
public int getRotation()
public void setRotation(int rotation)