Text#

class Text#

Text. Created using Drawing.AddText.

Tuple<Double, Double, Double> Position { get; set; }#

Position of the text.

Game Scenes:

Flight

Tuple<Double, Double, Double, Double> Rotation { get; set; }#

Rotation of the text as a quaternion.

Game Scenes:

Flight

SpaceCenter.ReferenceFrame ReferenceFrame { get; set; }#

Reference frame for the positions of the object.

Game Scenes:

Flight

Boolean Visible { get; set; }#

Whether the object is visible.

Game Scenes:

Flight

void Remove ()#

Remove the object.

Game Scenes:

Flight

String Content { get; set; }#

The text string

Game Scenes:

Flight

String Font { get; set; }#

Name of the font

Game Scenes:

Flight

static IList<String> AvailableFonts (IConnection connection)#

A list of all available fonts.

Game Scenes:

Flight

Int32 Size { get; set; }#

Font size.

Game Scenes:

Flight

Single CharacterSize { get; set; }#

Character size.

Game Scenes:

Flight

UI.FontStyle Style { get; set; }#

Font style.

Game Scenes:

Flight

Tuple<Double, Double, Double> Color { get; set; }#

Set the color

Game Scenes:

Flight

String Material { get; set; }#

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

Game Scenes:

Flight

UI.TextAlignment Alignment { get; set; }#

Alignment.

Game Scenes:

Flight

Single LineSpacing { get; set; }#

Line spacing.

Game Scenes:

Flight

UI.TextAnchor Anchor { get; set; }#

Anchor.

Game Scenes:

Flight