AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.ChartText Class Reference

Public Member Functions

 ChartText (GameObject textParent)
 
void SetFontSize (float fontSize)
 
void SetText (string text)
 
string GetText ()
 
void SetColor (Color color)
 
void SetLineSpacing (float lineSpacing)
 
void SetActive (bool flag)
 
void SetLocalPosition (Vector3 position)
 
void SetSizeDelta (Vector2 sizeDelta)
 
void SetLocalEulerAngles (Vector3 position)
 
void SetAlignment (TextAnchor alignment)
 
void SetFont (Font font)
 
void SetFontStyle (FontStyle fontStyle)
 
void SetFontAndSizeAndStyle (TextStyle textStyle, ComponentTheme theme)
 
float GetPreferredWidth (string content)
 
float GetPreferredWidth ()
 
float GetPreferredHeight ()
 
string GetPreferredText (string content, string suffix, float maxWidth)
 

Properties

Text text [get, set]
 
GameObject gameObject [get]
 
TextAnchor alignment [get, set]
 

Detailed Description

Definition at line 16 of file ChartText.cs.


The documentation for this class was generated from the following file: