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

the title of serie. 标题相关设置。 More...

Inheritance diagram for XCharts.TitleStyle:
Collaboration diagram for XCharts.TitleStyle:

Public Member Functions

override void ClearComponentDirty ()
 
bool IsInited ()
 
void SetActive (bool active)
 
void UpdatePosition (Vector3 pos)
 
void SetText (string text)
 
void SetColor (Color color)
 
- Public Member Functions inherited from XCharts.ChartComponent
virtual void SetVerticesDirty ()
 
virtual void ClearVerticesDirty ()
 
virtual void SetComponentDirty ()
 
virtual void ClearDirty ()
 
virtual void SetAllDirty ()
 

Properties

bool show [get, set]
 Whether to show title. 是否显示标题。 More...
 
TextStyle textStyle [get, set]
 the color of text. 文本的颜色。 More...
 
override bool componentDirty [get]
 
ChartText runtimeText [get, set]
 
- Properties inherited from XCharts.ChartComponent
virtual bool vertsDirty [get]
 图表重绘标记。 More...
 
virtual bool componentDirty [get]
 组件重新初始化标记。 More...
 
bool anyDirty [get]
 需要重绘图表或重新初始化组件。 More...
 
Painter painter [get, set]
 
Action refreshComponent [get, set]
 
GameObject gameObject [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

the title of serie. 标题相关设置。

Definition at line 21 of file TitleStyle.cs.

Property Documentation

◆ show

bool XCharts.TitleStyle.show
getset

Whether to show title. 是否显示标题。

Definition at line 32 of file TitleStyle.cs.

32  {
33  get { return m_Show; }
34  set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetComponentDirty(); }
35  }

◆ textStyle

TextStyle XCharts.TitleStyle.textStyle
getset

the color of text. 文本的颜色。

Definition at line 42 of file TitleStyle.cs.

42  {
43  get { return m_TextStyle; }
44  set { if (PropertyUtil.SetClass(ref m_TextStyle, value, true)) SetComponentDirty(); }
45  }

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