Text

public class Text

Text. Created using addText(String, SpaceCenter.ReferenceFrame, org.javatuples.Triplet<Double,Double,Double>, org.javatuples.Quartet<Double,Double,Double,Double>, boolean).

org.javatuples.Triplet<Double, Double, Double> getPosition()
void setPosition(org.javatuples.Triplet<Double, Double, Double> value)

Position of the text.

Game Scenes:

Flight

org.javatuples.Quartet<Double, Double, Double, Double> getRotation()
void setRotation(org.javatuples.Quartet<Double, Double, Double, Double> value)

Rotation of the text as a quaternion.

Game Scenes:

Flight

SpaceCenter.ReferenceFrame getReferenceFrame()
void setReferenceFrame(SpaceCenter.ReferenceFrame value)

Reference frame for the positions of the object.

Game Scenes:

Flight

boolean getVisible()
void setVisible(boolean value)

Whether the object is visible.

Game Scenes:

Flight

void remove()

Remove the object.

Game Scenes:

Flight

String getContent()
void setContent(String value)

The text string

Game Scenes:

Flight

String getFont()
void setFont(String value)

Name of the font

Game Scenes:

Flight

static java.util.List<String> availableFonts(Connection connection)

A list of all available fonts.

Game Scenes:

Flight

int getSize()
void setSize(int value)

Font size.

Game Scenes:

Flight

float getCharacterSize()
void setCharacterSize(float value)

Character size.

Game Scenes:

Flight

UI.FontStyle getStyle()
void setStyle(UI.FontStyle value)

Font style.

Game Scenes:

Flight

org.javatuples.Triplet<Double, Double, Double> getColor()
void setColor(org.javatuples.Triplet<Double, Double, Double> value)

Set the color

Game Scenes:

Flight

String getMaterial()
void setMaterial(String value)

Material used to render the object. Creates the material from a shader with the given name.

Game Scenes:

Flight

UI.TextAlignment getAlignment()
void setAlignment(UI.TextAlignment value)

Alignment.

Game Scenes:

Flight

float getLineSpacing()
void setLineSpacing(float value)

Line spacing.

Game Scenes:

Flight

UI.TextAnchor getAnchor()
void setAnchor(UI.TextAnchor value)

Anchor.

Game Scenes:

Flight